ReactOS  0.4.15-dev-5499-g1341c38
precomp.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS kernel
4  * FILE: base/services/umpnpmgr/install.c
5  * PURPOSE: Device installer
6  * PROGRAMMER: Eric Kohl (eric.kohl@reactos.org)
7  * HervĂ© Poussineau (hpoussin@reactos.org)
8  * Colin Finck (colin@reactos.org)
9  */
10 
11 #ifndef _UMPNPMGR_PCH_
12 #define _UMPNPMGR_PCH_
13 
14 #define WIN32_NO_STATUS
15 #define _INC_WINDOWS
16 #define COM_NO_WINDOWS_H
17 #include <stdarg.h>
18 #include <windef.h>
19 #include <winbase.h>
20 #include <winreg.h>
21 #include <winsvc.h>
22 #include <winuser.h>
23 #include <dbt.h>
24 #include <stdio.h>
25 #include <cmfuncs.h>
26 #include <rtlfuncs.h>
27 #include <setypes.h>
28 #include <umpnpmgr/sysguid.h>
29 #include <cfgmgr32.h>
30 #include <regstr.h>
31 #include <userenv.h>
32 #include <shlwapi.h>
33 #include <pnp_s.h>
34 
35 
36 typedef struct
37 {
39  WCHAR DeviceIds[ANYSIZE_ARRAY];
41 
42 typedef struct
43 {
47 
48 /* install.c */
49 
50 extern HANDLE hUserToken;
51 extern HANDLE hInstallEvent;
53 
54 /* Device-install event list */
58 
59 BOOL
61 
62 DWORD
63 WINAPI
65  LPVOID lpParameter);
66 
67 
68 /* rpcserver.c */
69 
70 DWORD
71 WINAPI
73  LPVOID lpParameter);
74 
75 
76 /* umpnpmgr.c */
77 
78 extern HKEY hEnumKey;
79 extern HKEY hClassKey;
80 extern BOOL g_IsUISuppressed;
81 
82 BOOL
84 
85 #endif /* _UMPNPMGR_PCH_ */
DWORD WINAPI DeviceInstallThread(LPVOID lpParameter)
Definition: install.c:534
HANDLE hDeviceInstallListMutex
Definition: install.c:44
#define ANYSIZE_ARRAY
Definition: typedefs.h:46
uint16_t * PWSTR
Definition: typedefs.h:56
LIST_ENTRY DeviceInstallListHead
Definition: install.c:45
PWSTR pszName
Definition: precomp.h:45
unsigned int BOOL
Definition: ntddk_ex.h:94
HKEY hClassKey
Definition: umpnpmgr.c:45
__wchar_t WCHAR
Definition: xmlstorage.h:180
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
LIST_ENTRY ListEntry
Definition: precomp.h:38
BOOL SetupIsActive(VOID)
Definition: install.c:290
HKEY hEnumKey
Definition: umpnpmgr.c:44
HANDLE hDeviceInstallListNotEmpty
Definition: install.c:46
HANDLE hNoPendingInstalls
Definition: install.c:41
BOOL g_IsUISuppressed
Definition: umpnpmgr.c:46
struct NOTIFY_ENTRY * PNOTIFY_ENTRY
Definition: typedefs.h:119
HANDLE hUserToken
Definition: install.c:39
DWORD WINAPI RpcServerThread(LPVOID lpParameter)
Definition: rpcserver.c:46
BOOL GetSuppressNewUIValue(VOID)
Definition: umpnpmgr.c:338
HANDLE hInstallEvent
Definition: install.c:40
LIST_ENTRY ListEntry
Definition: precomp.h:44
Definition: precomp.h:42