mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
30 lines
793 B
C
30 lines
793 B
C
/*
|
|
* SetupAPI device installer
|
|
*
|
|
*/
|
|
|
|
#include "windef.h"
|
|
#include "winbase.h"
|
|
#include "setupx16.h"
|
|
#include "debugtools.h"
|
|
|
|
DEFAULT_DEBUG_CHANNEL(setupapi);
|
|
|
|
/***********************************************************************
|
|
* DiGetClassDevs (SETUPX.304)
|
|
* Return a list of installed system devices.
|
|
* Uses HKLM\\ENUM to list devices.
|
|
*/
|
|
RETERR16 WINAPI DiGetClassDevs16(LPLPDEVICE_INFO16 lplpdi,
|
|
LPCSTR lpszClassName, HWND16 hwndParent, INT16 iFlags)
|
|
{
|
|
LPDEVICE_INFO16 lpdi;
|
|
|
|
FIXME("(%p, '%s', %04x, %04x), semi-stub.\n",
|
|
lplpdi, lpszClassName, hwndParent, iFlags);
|
|
lpdi = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(DEVICE_INFO16));
|
|
lpdi->cbSize = sizeof(DEVICE_INFO16);
|
|
*lplpdi = lpdi;
|
|
return OK;
|
|
}
|