Added a spec file for 16bit imm.
[wine] / dlls / setupapi / devinst.c
1 /*
2  * SetupAPI device installer
3  *
4  */
5
6 #include "debugtools.h"
7 #include "windef.h"
8 #include "setupx16.h"
9 #include "heap.h"
10
11 DEFAULT_DEBUG_CHANNEL(setupapi);
12
13 /*
14  * Return a list of installed system devices.
15  * Uses HKLM\\ENUM to list devices.
16  */
17 RETERR16 WINAPI DiGetClassDevs16(LPLPDEVICE_INFO16 lplpdi,
18                                  LPCSTR lpszClassName, HWND16 hwndParent, INT16 iFlags)
19 {
20     LPDEVICE_INFO16 lpdi;
21
22     FIXME("(%p, '%s', %04x, %04x), semi-stub.\n",
23           lplpdi, lpszClassName, hwndParent, iFlags);
24     lpdi = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(DEVICE_INFO16));
25     lpdi->cbSize = sizeof(DEVICE_INFO16);
26     *lplpdi = lpdi;
27     return OK;
28 }