Commit 1e4db62e authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

setupapi: Add stubs for SetupDiGetCustomDeviceProperty{A|W}().

parent b13e7ba7
......@@ -5288,3 +5288,23 @@ BOOL WINAPI SetupDiInstallDevice(HDEVINFO devinfo, SP_DEVINFO_DATA *device_data)
return TRUE;
}
BOOL WINAPI SetupDiGetCustomDevicePropertyA(HDEVINFO devinfo, SP_DEVINFO_DATA *data, const char *name, DWORD flags,
DWORD *reg_type, BYTE *buffer, DWORD bufsize, DWORD *required)
{
FIXME("devinfo %p, data %p, name %s, flags %#lx, reg_type %p, buffer %p, bufsize %lu, required %p stub.\n",
devinfo, data, debugstr_a(name), flags, reg_type, buffer, bufsize, required);
SetLastError(ERROR_INVALID_DATA);
return FALSE;
}
BOOL WINAPI SetupDiGetCustomDevicePropertyW(HDEVINFO devinfo, SP_DEVINFO_DATA *data, const WCHAR *name, DWORD flags,
DWORD *reg_type, BYTE *buffer, DWORD bufsize, DWORD *required)
{
FIXME("devinfo %p, data %p, name %s, flags %#lx, reg_type %p, buffer %p, bufsize %lu, required %p stub.\n",
devinfo, data, debugstr_w(name), flags, reg_type, buffer, bufsize, required);
SetLastError(ERROR_INVALID_DATA);
return FALSE;
}
......@@ -337,6 +337,8 @@
@ stub SetupDiGetClassInstallParamsA
@ stub SetupDiGetClassInstallParamsW
@ stdcall SetupDiGetClassRegistryPropertyW(ptr long ptr ptr long ptr wstr ptr)
@ stdcall SetupDiGetCustomDevicePropertyA(ptr ptr str long ptr ptr long ptr)
@ stdcall SetupDiGetCustomDevicePropertyW(ptr ptr wstr long ptr ptr long ptr)
@ stub SetupDiGetDeviceInfoListClass
@ stdcall SetupDiGetDeviceInfoListDetailA(ptr ptr)
@ stdcall SetupDiGetDeviceInfoListDetailW(ptr ptr)
......
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