xref: /reactos/dll/cpl/hotplug/hotplug.h (revision 019f21ee)
1 #pragma once
2 
3 #define WIN32_NO_STATUS
4 #include <stdarg.h>
5 #include <windef.h>
6 #include <winbase.h>
7 #include <wingdi.h>
8 #include <winuser.h>
9 #include <wincon.h>
10 #include <winreg.h>
11 #include <windowsx.h>
12 #include <commctrl.h>
13 #include <cpl.h>
14 #include <tchar.h>
15 #include <limits.h>
16 #include <setupapi.h>
17 #include <cfgmgr32.h>
18 #include <dbt.h>
19 #include <regstr.h>
20 
21 #include "resource.h"
22 
23 /* Hotplug Flags */
24 #define HOTPLUG_DISPLAY_DEVICE_COMPONENTS 0x00000002
25 
26 // Globals
27 extern HINSTANCE hApplet;
28 
29 // defines
30 #define NUM_APPLETS    (1)
31 
32 // global structures
33 typedef struct
34 {
35     int idIcon;
36     int idName;
37     int idDescription;
38     APPLET_PROC AppletProc;
39 }APPLET, *PAPPLET;
40 
41 
42 
43 // hotplug.c
44 LONG
45 APIENTRY
46 InitApplet(
47     HWND hwnd,
48     UINT uMsg,
49     LPARAM wParam,
50     LPARAM lParam);
51