ReactOS  0.4.15-dev-1039-gb9754fa
hotplug.h
Go to the documentation of this file.
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;
39 }APPLET, *PAPPLET;
40 
41 
42 
43 // hotplug.c
44 LONG
47  HWND hwnd,
48  UINT uMsg,
49  LPARAM wParam,
50  LPARAM lParam);
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
struct APPLET * PAPPLET
LONG(APIENTRY * APPLET_PROC)(HWND, UINT, LPARAM, LPARAM)
Definition: cpl.h:23
int idName
Definition: hotplug.h:36
int idIcon
Definition: hotplug.h:35
HINSTANCE hApplet
Definition: access.c:17
WPARAM wParam
Definition: combotst.c:138
int idDescription
Definition: hotplug.h:37
long LONG
Definition: pedump.c:60
LONG_PTR LPARAM
Definition: windef.h:208
LONG APIENTRY InitApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
Definition: hotplug.c:477
APPLET_PROC AppletProc
Definition: hotplug.h:38
unsigned int UINT
Definition: ndis.h:50
struct _APPLET APPLET
LPARAM lParam
Definition: combotst.c:139
#define APIENTRY
Definition: api.h:79