source: trunk/src/setupapi/devinst.c@ 7029

Last change on this file since 7029 was 6712, checked in by sandervl, 24 years ago

restored old version

File size: 790 bytes
Line 
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
11DEFAULT_DEBUG_CHANNEL(setupapi);
12
13/***********************************************************************
14 * DiGetClassDevs (SETUPX.304)
15 * Return a list of installed system devices.
16 * Uses HKLM\\ENUM to list devices.
17 */
18RETERR16 WINAPI DiGetClassDevs16(LPLPDEVICE_INFO16 lplpdi,
19 LPCSTR lpszClassName, HWND16 hwndParent, INT16 iFlags)
20{
21 LPDEVICE_INFO16 lpdi;
22
23 FIXME("(%p, '%s', %04x, %04x), semi-stub.\n",
24 lplpdi, lpszClassName, hwndParent, iFlags);
25 lpdi = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(DEVICE_INFO16));
26 lpdi->cbSize = sizeof(DEVICE_INFO16);
27 *lplpdi = lpdi;
28 return OK;
29}
Note: See TracBrowser for help on using the repository browser.