setupapi: Add SetupDiGetClassRegistryPropertyW stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52520
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gijs Vermeulen 2022-03-12 22:48:44 +01:00 committed by Alexandre Julliard
parent f74474072a
commit b8a4b9f93b
2 changed files with 10 additions and 0 deletions

View file

@ -336,6 +336,7 @@
@ stub SetupDiGetClassImageListExW
@ stub SetupDiGetClassInstallParamsA
@ stub SetupDiGetClassInstallParamsW
@ stdcall SetupDiGetClassRegistryPropertyW(ptr long ptr ptr long ptr wstr ptr)
@ stub SetupDiGetDeviceInfoListClass
@ stdcall SetupDiGetDeviceInfoListDetailA(ptr ptr)
@ stdcall SetupDiGetDeviceInfoListDetailW(ptr ptr)

View file

@ -667,3 +667,12 @@ CONFIGRET WINAPI CM_Request_Device_EjectW(DEVINST dev, PPNP_VETO_TYPE type, LPWS
FIXME("(0x%08lx, %p, %p, %lu, 0x%08lx) stub\n", dev, type, name, length, flags);
return CR_SUCCESS;
}
BOOL WINAPI SetupDiGetClassRegistryPropertyW(const GUID *class, DWORD prop, DWORD *datatype, BYTE *buff, DWORD size,
DWORD *req_size, const WCHAR *name, VOID *reserved)
{
FIXME("class %s, prop %ld, datatype %p, buff %p, size %ld, req_size %p, name %s, reserved %p stub!\n",
debugstr_guid(class), prop, datatype, buff, size, req_size, debugstr_w(name), reserved);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}