Commit cee34aa5 authored by Steve Lustbader's avatar Steve Lustbader Committed by Alexandre Julliard

Provide stub for SetupDiGetClassDevsW.

Fix return value of SetupDiGetClassDevsA.
parent 8b3da5e3
......@@ -99,10 +99,23 @@ HDEVINFO WINAPI SetupDiGetClassDevsA(
{
FIXME("%s %s %04x %08lx\n",debugstr_guid(class),enumstr,parent,flags);
return NULL;
return (HDEVINFO) INVALID_HANDLE_VALUE;
}
/***********************************************************************
* SetupDiGetClassDevsW (SETUPAPI.@)
*/
HDEVINFO WINAPI SetupDiGetClassDevsW(
CONST GUID *class,
LPCWSTR enumstr,
HWND parent,
DWORD flags)
{
FIXME("%s %s %04x %08lx\n",debugstr_guid(class),debugstr_w(enumstr),parent,flags);
return (HDEVINFO) INVALID_HANDLE_VALUE;
}
/***********************************************************************
* SetupDiEnumDeviceInfo (SETUPAPI.@)
*/
BOOL WINAPI SetupDiEnumDeviceInfo(
......@@ -146,4 +159,3 @@ BOOL WINAPI SetupDiGetDeviceRegistryPropertyA(
RequiredSize);
return FALSE;
}
......@@ -103,7 +103,7 @@
@ stub SetupDiGetClassDevPropertySheetsA
@ stub SetupDiGetClassDevPropertySheetsW
@ stdcall SetupDiGetClassDevsA(ptr ptr long long) SetupDiGetClassDevsA
@ stub SetupDiGetClassDevsW
@ stdcall SetupDiGetClassDevsW(ptr ptr long long) SetupDiGetClassDevsW
@ stub SetupDiGetClassImageIndex
@ stub SetupDiGetClassImageList
@ stub SetupDiGetClassInstallParamsA
......
......@@ -531,6 +531,9 @@ void WINAPI SetupTermDefaultQueueCallback( PVOID );
UINT WINAPI SetupDefaultQueueCallbackA( PVOID, UINT, UINT_PTR, UINT_PTR );
UINT WINAPI SetupDefaultQueueCallbackW( PVOID, UINT, UINT_PTR, UINT_PTR );
#define SetupDefaultQueueCallback WINELIB_NAME_AW(SetupDefaultQueueCallback)
HDEVINFO WINAPI SetupDiGetClassDevsA(CONST GUID *,LPCSTR,HWND,DWORD);
HDEVINFO WINAPI SetupDiGetClassDevsW(CONST GUID *,LPCWSTR,HWND,DWORD);
#define SetupDiGetClassDevs WINELIB_NAME_AW(SetupDiGetClassDevs)
BOOL WINAPI SetupInstallFilesFromInfSectionA( HINF, HINF, HSPFILEQ, PCSTR, PCSTR, UINT );
BOOL WINAPI SetupInstallFilesFromInfSectionW( HINF, HINF, HSPFILEQ, PCWSTR, PCWSTR, UINT );
#define SetupInstallFilesFromInfSection WINELIB_NAME_AW(SetupInstallFilesFromInfSection)
......
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