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

Last change on this file since 6649 was 6649, checked in by bird, 24 years ago

Added $Id:$ keyword.

File size: 852 bytes
Line 
1/* $Id: devinst.c,v 1.2 2001-09-05 13:38:23 bird Exp $ */
2/*
3 * SetupAPI device installer
4 *
5 */
6
7#include "debugtools.h"
8#include "windef.h"
9#include "setupx16.h"
10#include "heap.h"
11
12DEFAULT_DEBUG_CHANNEL(setupapi);
13
14/***********************************************************************
15 * DiGetClassDevs (SETUPX.304)
16 * Return a list of installed system devices.
17 * Uses HKLM\\ENUM to list devices.
18 */
19RETERR16 WINAPI DiGetClassDevs16(LPLPDEVICE_INFO16 lplpdi,
20 LPCSTR lpszClassName, HWND16 hwndParent, INT16 iFlags)
21{
22 LPDEVICE_INFO16 lpdi;
23
24 FIXME("(%p, '%s', %04x, %04x), semi-stub.\n",
25 lplpdi, lpszClassName, hwndParent, iFlags);
26 lpdi = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(DEVICE_INFO16));
27 lpdi->cbSize = sizeof(DEVICE_INFO16);
28 *lplpdi = lpdi;
29 return OK;
30}
Note: See TracBrowser for help on using the repository browser.