Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
wine
wine-winehq
Commits
d46ffb4b
Commit
d46ffb4b
authored
Dec 29, 2008
by
Andrew Nguyen
Committed by
Alexandre Julliard
Dec 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cfgmgr32: Forward and stub CM_Create_DevNodeA/W.
parent
33197eaa
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
4 deletions
+25
-4
cfgmgr32.spec
dlls/cfgmgr32/cfgmgr32.spec
+2
-2
setupapi.spec
dlls/setupapi/setupapi.spec
+2
-2
stubs.c
dlls/setupapi/stubs.c
+18
-0
cfgmgr32.h
include/cfgmgr32.h
+3
-0
No files found.
dlls/cfgmgr32/cfgmgr32.spec
View file @
d46ffb4b
...
...
@@ -9,8 +9,8 @@
@ stub CM_Add_Res_Des_Ex
@ stdcall CM_Connect_MachineA(str ptr) setupapi.CM_Connect_MachineA
@ stdcall CM_Connect_MachineW(wstr ptr) setupapi.CM_Connect_MachineW
@ st
ub
CM_Create_DevNodeA
@ st
ub
CM_Create_DevNodeW
@ st
dcall CM_Create_DevNodeA(ptr str long long) setupapi.
CM_Create_DevNodeA
@ st
dcall CM_Create_DevNodeW(ptr wstr long long) setupapi.
CM_Create_DevNodeW
@ stub CM_Create_DevNode_ExA
@ stub CM_Create_DevNode_ExW
@ stub CM_Create_Range_List
...
...
dlls/setupapi/setupapi.spec
View file @
d46ffb4b
...
...
@@ -20,8 +20,8 @@
@ stub CM_Add_Res_Des_Ex
@ stdcall CM_Connect_MachineA(str ptr)
@ stdcall CM_Connect_MachineW(wstr ptr)
@ st
ub CM_Create_DevNodeA
@ st
ub CM_Create_DevNodeW
@ st
dcall CM_Create_DevNodeA(ptr str long long)
@ st
dcall CM_Create_DevNodeW(ptr wstr long long)
@ stub CM_Create_DevNode_ExA
@ stub CM_Create_DevNode_ExW
@ stub CM_Create_Range_List
...
...
dlls/setupapi/stubs.c
View file @
d46ffb4b
...
...
@@ -70,6 +70,24 @@ CONFIGRET WINAPI CM_Connect_MachineW(PCWSTR name, PHMACHINE machine)
}
/***********************************************************************
* CM_Create_DevNodeA (SETUPAPI.@)
*/
CONFIGRET
WINAPI
CM_Create_DevNodeA
(
PDEVINST
pdnDevInst
,
DEVINSTID_A
pDeviceID
,
DEVINST
dnParent
,
ULONG
ulFlags
)
{
FIXME
(
"(%p %s 0x%08x 0x%08x) stub
\n
"
,
pdnDevInst
,
pDeviceID
,
dnParent
,
ulFlags
);
return
CR_SUCCESS
;
}
/***********************************************************************
* CM_Create_DevNodeW (SETUPAPI.@)
*/
CONFIGRET
WINAPI
CM_Create_DevNodeW
(
PDEVINST
pdnDevInst
,
DEVINSTID_W
pDeviceID
,
DEVINST
dnParent
,
ULONG
ulFlags
)
{
FIXME
(
"(%p %s 0x%08x 0x%08x) stub
\n
"
,
pdnDevInst
,
debugstr_w
(
pDeviceID
),
dnParent
,
ulFlags
);
return
CR_SUCCESS
;
}
/***********************************************************************
* CM_Disconnect_Machine (SETUPAPI.@)
*/
CONFIGRET
WINAPI
CM_Disconnect_Machine
(
HMACHINE
handle
)
...
...
include/cfgmgr32.h
View file @
d46ffb4b
...
...
@@ -117,6 +117,9 @@ extern "C" {
CMAPI
CONFIGRET
WINAPI
CM_Connect_MachineA
(
PCSTR
,
PHMACHINE
);
CMAPI
CONFIGRET
WINAPI
CM_Connect_MachineW
(
PCWSTR
,
PHMACHINE
);
#define CM_Connect_Machine WINELIB_NAME_AW(CM_Connect_Machine)
CMAPI
CONFIGRET
WINAPI
CM_Create_DevNodeA
(
PDEVINST
,
DEVINSTID_A
,
DEVINST
,
ULONG
);
CMAPI
CONFIGRET
WINAPI
CM_Create_DevNodeW
(
PDEVINST
,
DEVINSTID_W
,
DEVINST
,
ULONG
);
#define CM_Create_DevNode WINELIB_NAME_AW(CM_Create_DevNode)
CMAPI
CONFIGRET
WINAPI
CM_Disconnect_Machine
(
HMACHINE
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_IDA
(
DEVINST
,
PSTR
,
ULONG
,
ULONG
);
CMAPI
CONFIGRET
WINAPI
CM_Get_Device_IDW
(
DEVINST
,
PWSTR
,
ULONG
,
ULONG
);
...
...
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