Commit d46ffb4b authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

cfgmgr32: Forward and stub CM_Create_DevNodeA/W.

parent 33197eaa
......@@ -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
@ stub CM_Create_DevNodeA
@ stub CM_Create_DevNodeW
@ stdcall CM_Create_DevNodeA(ptr str long long) setupapi.CM_Create_DevNodeA
@ stdcall 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
......
......@@ -20,8 +20,8 @@
@ stub CM_Add_Res_Des_Ex
@ stdcall CM_Connect_MachineA(str ptr)
@ stdcall CM_Connect_MachineW(wstr ptr)
@ stub CM_Create_DevNodeA
@ stub CM_Create_DevNodeW
@ stdcall CM_Create_DevNodeA(ptr str long long)
@ stdcall CM_Create_DevNodeW(ptr wstr long long)
@ stub CM_Create_DevNode_ExA
@ stub CM_Create_DevNode_ExW
@ stub CM_Create_Range_List
......
......@@ -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)
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment