ReactOS  0.4.15-dev-1377-ga59cecd
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 /* install.c */
43 
44 extern HANDLE hUserToken;
45 extern HANDLE hInstallEvent;
47 
48 /* Device-install event list */
52 
53 BOOL
55 
57 BOOL
59 
60 DWORD
61 WINAPI
64 
65 
66 /* rpcserver.c */
67 
68 DWORD
69 WINAPI
72 
73 
74 /* umpnpmgr.c */
75 
76 extern HKEY hEnumKey;
77 extern HKEY hClassKey;
78 extern BOOL g_IsUISuppressed;
79 
80 BOOL
82 
83 #endif /* _UMPNPMGR_PCH_ */
DWORD WINAPI DeviceInstallThread(LPVOID lpParameter)
Definition: install.c:357
HANDLE hDeviceInstallListMutex
Definition: install.c:44
#define ANYSIZE_ARRAY
Definition: typedefs.h:46
LIST_ENTRY DeviceInstallListHead
Definition: install.c: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:271
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
LPVOID lpParameter
Definition: kernel32.h:241
Definition: typedefs.h:119
HANDLE hUserToken
Definition: install.c:39
DWORD WINAPI RpcServerThread(LPVOID lpParameter)
Definition: rpcserver.c:45
FORCEINLINE BOOL IsUISuppressionAllowed(VOID)
Definition: install.c:347
#define FORCEINLINE
Definition: wdftypes.h:67
BOOL GetSuppressNewUIValue(VOID)
Definition: umpnpmgr.c:330
HANDLE hInstallEvent
Definition: install.c:40