Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aleksandr Isakov
wine-fonts
Commits
af533d1e
Commit
af533d1e
authored
Aug 11, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 11, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Added CM_Get_Version().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8be1357b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
2 deletions
+22
-2
cfgmgr32.spec
dlls/cfgmgr32/cfgmgr32.spec
+1
-1
misc.c
dlls/setupapi/misc.c
+9
-0
setupapi.spec
dlls/setupapi/setupapi.spec
+1
-1
misc.c
dlls/setupapi/tests/misc.c
+10
-0
cfgmgr32.h
include/cfgmgr32.h
+1
-0
No files found.
dlls/cfgmgr32/cfgmgr32.spec
View file @
af533d1e
...
...
@@ -114,7 +114,7 @@
@ stub CM_Get_Res_Des_Data_Size_Ex
@ stub CM_Get_Sibling
@ stub CM_Get_Sibling_Ex
@ st
ub
CM_Get_Version
@ st
dcall CM_Get_Version() setupapi.
CM_Get_Version
@ stub CM_Get_Version_Ex
@ stub CM_Intersect_Range_List
@ stub CM_Invert_Range_List
...
...
dlls/setupapi/misc.c
View file @
af533d1e
...
...
@@ -1751,3 +1751,12 @@ BOOL WINAPI SetupLogErrorW(LPCWSTR message, LogSeverity severity)
HeapFree
(
GetProcessHeap
(),
0
,
msg
);
return
ret
;
}
/***********************************************************************
* CM_Get_Version (SETUPAPI.@)
*/
WORD
WINAPI
CM_Get_Version
(
void
)
{
TRACE
(
"()
\n
"
);
return
0x0400
;
}
dlls/setupapi/setupapi.spec
View file @
af533d1e
...
...
@@ -125,7 +125,7 @@
@ stub CM_Get_Res_Des_Data_Size_Ex
@ stub CM_Get_Sibling
@ stub CM_Get_Sibling_Ex
@ st
ub CM_Get_Version
@ st
dcall CM_Get_Version()
@ stub CM_Get_Version_Ex
@ stub CM_Intersect_Range_List
@ stub CM_Invert_Range_List
...
...
dlls/setupapi/tests/misc.c
View file @
af533d1e
...
...
@@ -29,6 +29,7 @@
#include "winuser.h"
#include "winreg.h"
#include "setupapi.h"
#include "cfgmgr32.h"
#include "wine/test.h"
...
...
@@ -816,6 +817,14 @@ static void test_SetupLogError(void)
SetupCloseLog
();
}
static
void
test_CM_Get_Version
(
void
)
{
WORD
ret
;
ret
=
CM_Get_Version
();
ok
(
ret
==
0x0400
,
"got version %#x
\n
"
,
ret
);
}
START_TEST
(
misc
)
{
HMODULE
hsetupapi
=
GetModuleHandleA
(
"setupapi.dll"
);
...
...
@@ -849,4 +858,5 @@ START_TEST(misc)
test_defaultcallback
();
test_SetupLogError
();
test_CM_Get_Version
();
}
include/cfgmgr32.h
View file @
af533d1e
...
...
@@ -192,6 +192,7 @@ CMAPI CONFIGRET WINAPI CM_Get_Device_ID_List_ExW(PCWSTR,PWCHAR,ULONG,ULONG,HMACH
#define CM_Get_Device_ID_List_Ex WINELIB_NAME_AW(CM_Get_Device_ID_List_Ex)
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_ID_Size
(
PULONG
,
DEVINST
,
ULONG
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_ID_Size_Ex
(
PULONG
,
DEVINST
,
ULONG
,
HMACHINE
);
CMAPI
WORD
WINAPI
CM_Get_Version
(
void
);
CMAPI
CONFIGRET
WINAPI
CM_Locate_DevNodeA
(
PDEVINST
,
DEVINSTID_A
,
ULONG
);
CMAPI
CONFIGRET
WINAPI
CM_Locate_DevNodeW
(
PDEVINST
,
DEVINSTID_W
,
ULONG
);
#define CM_Locate_DevNode WINELIB_NAME_AW(CM_Locate_DevNode)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment