Skip to content

Commit

Permalink
setupapi: Add stub for CM_Get_Device_ID_ExW.
Browse files Browse the repository at this point in the history
  • Loading branch information
Choochmeque authored and julliard committed Dec 16, 2009
1 parent 1b94450 commit 6f2ec37
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/setupapi/setupapi.spec
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
@ stdcall CM_Get_Device_IDA(ptr ptr long long)
@ stdcall CM_Get_Device_IDW(ptr ptr long long)
@ stub CM_Get_Device_ID_ExA
@ stub CM_Get_Device_ID_ExW
@ stdcall CM_Get_Device_ID_ExW(ptr ptr long long ptr)
@ stdcall CM_Get_Device_ID_ListA(str ptr long long)
@ stdcall CM_Get_Device_ID_ListW(wstr ptr long long)
@ stub CM_Get_Device_ID_List_ExA
Expand Down
10 changes: 10 additions & 0 deletions dlls/setupapi/stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@ CONFIGRET WINAPI CM_Disconnect_Machine(HMACHINE handle)

}

/***********************************************************************
* CM_Get_Device_ID_ExW (SETUPAPI.@)
*/
DWORD WINAPI CM_Get_Device_ID_ExW(
DEVINST dnDevInst, PWCHAR Buffer, ULONG BufferLen, ULONG ulFlags, HMACHINE hMachine)
{
FIXME("0x%08x %p 0x%08x 0x%08x %p\n", dnDevInst, Buffer, BufferLen, ulFlags, hMachine);
return CR_SUCCESS;
}

/***********************************************************************
* CM_Get_Device_ID_ListA (SETUPAPI.@)
*/
Expand Down
3 changes: 3 additions & 0 deletions include/cfgmgr32.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ 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);
#define CM_Get_Device_ID WINELIB_NAME_AW(CM_Get_Device_ID)
CMAPI CONFIGRET WINAPI CM_Get_Device_ID_ExA(DEVINST,PSTR,ULONG,ULONG,HMACHINE);
CMAPI CONFIGRET WINAPI CM_Get_Device_ID_ExW(DEVINST,PWSTR,ULONG,ULONG,HMACHINE);
#define CM_Get_Device_ID_Ex WINELIB_NAME_AW(CM_Get_Device_ID_Ex)
CMAPI CONFIGRET WINAPI CM_Get_Device_ID_ListA(PCSTR,PCHAR,ULONG,ULONG);
CMAPI CONFIGRET WINAPI CM_Get_Device_ID_ListW(PCWSTR,PWCHAR,ULONG,ULONG);
#define CM_Get_Device_ID_List WINELIB_NAME_AW(CM_Get_Device_ID_List)
Expand Down

0 comments on commit 6f2ec37

Please sign in to comment.