cfgmgr32: Forward and stub CM_Create_DevNodeA/W.

This commit is contained in:
Andrew Nguyen 2008-12-29 11:43:12 -06:00 committed by Alexandre Julliard
parent 33197eaa8d
commit d46ffb4b6f
4 changed files with 25 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -69,6 +69,24 @@ CONFIGRET WINAPI CM_Connect_MachineW(PCWSTR name, PHMACHINE machine)
return CR_ACCESS_DENIED;
}
/***********************************************************************
* 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.@)
*/

View File

@ -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);