setupapi: Add stubs for CM_Get_Device_IDA and CM_Get_Device_ID_Size.

oldstable
Juan Lang 2007-11-07 10:38:16 -08:00 committed by Alexandre Julliard
parent c5d5c5b63a
commit 4115598d5c
2 changed files with 24 additions and 2 deletions

View File

@ -71,7 +71,7 @@
@ stub CM_Get_DevNode_Registry_Property_ExW
@ stub CM_Get_DevNode_Status
@ stub CM_Get_DevNode_Status_Ex
@ stub CM_Get_Device_IDA
@ stdcall CM_Get_Device_IDA(ptr ptr long long)
@ stub CM_Get_Device_IDW
@ stub CM_Get_Device_ID_ExA
@ stub CM_Get_Device_ID_ExW
@ -83,7 +83,7 @@
@ stub CM_Get_Device_ID_List_SizeW
@ stub CM_Get_Device_ID_List_Size_ExA
@ stub CM_Get_Device_ID_List_Size_ExW
@ stub CM_Get_Device_ID_Size
@ stdcall CM_Get_Device_ID_Size(ptr ptr long)
@ stub CM_Get_Device_ID_Size_Ex
@ stub CM_Get_Device_Interface_AliasA
@ stub CM_Get_Device_Interface_AliasW

View File

@ -70,6 +70,17 @@ DWORD WINAPI CM_Disconnect_Machine(DWORD handle)
}
/***********************************************************************
* CM_Get_Device_IDA (SETUPAPI.@)
*/
DWORD WINAPI CM_Get_Device_IDA( LPVOID dnDevInst, LPSTR Buffer,
ULONG BufferLen, ULONG ulFlags)
{
FIXME("%p, %p, %u %u\n",dnDevInst, Buffer, BufferLen, ulFlags);
Buffer[0] = 0;
return CR_SUCCESS;
}
/***********************************************************************
* CM_Get_Device_ID_ListA (SETUPAPI.@)
*/
@ -82,6 +93,17 @@ DWORD WINAPI CM_Get_Device_ID_ListA(
return CR_SUCCESS;
}
/***********************************************************************
* CM_Get_Device_ID_Size (SETUPAPI.@)
*/
DWORD WINAPI CM_Get_Device_ID_Size( ULONG* pulLen, LPVOID dnDevInst,
ULONG ulFlags)
{
FIXME("%p %p %u\n",pulLen, dnDevInst, ulFlags);
*pulLen = 1;
return CR_SUCCESS;
}
/***********************************************************************
* SetupInitializeFileLogW(SETUPAPI.@)
*/