Provide stub for SetupDiGetClassDevsW.

Fix return value of SetupDiGetClassDevsA.
This commit is contained in:
Steve Lustbader 2002-10-10 18:57:32 +00:00 committed by Alexandre Julliard
parent 8b3da5e3ba
commit cee34aa5fe
3 changed files with 18 additions and 3 deletions

View File

@ -99,9 +99,22 @@ 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.@)
*/
@ -146,4 +159,3 @@ BOOL WINAPI SetupDiGetDeviceRegistryPropertyA(
RequiredSize);
return FALSE;
}

View File

@ -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

View File

@ -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)