ReactOS 0.4.16-dev-334-g4d9f67c
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
36typedef struct
37{
39 WCHAR DeviceIds[ANYSIZE_ARRAY];
41
42typedef struct
43{
47
48/* event.c */
49
53 LPVOID lpParameter);
54
55
56/* install.c */
57
58extern HANDLE hUserToken;
61
62/* Device-install event list */
66
67BOOL
69
73 LPVOID lpParameter);
74
75
76/* rpcserver.c */
77
79
83 LPVOID lpParameter);
84
85
86/* umpnpmgr.c */
87
88extern HKEY hEnumKey;
89extern HKEY hClassKey;
91extern BOOL g_ShuttingDown;
92
93BOOL
95
96#endif /* _UMPNPMGR_PCH_ */
LIST_ENTRY NotificationListHead
Definition: rpcserver.c:41
HANDLE hDeviceInstallListNotEmpty
Definition: install.c:46
struct NOTIFY_ENTRY * PNOTIFY_ENTRY
BOOL GetSuppressNewUIValue(VOID)
Definition: umpnpmgr.c:185
HKEY hEnumKey
Definition: umpnpmgr.c:44
BOOL SetupIsActive(VOID)
Definition: install.c:290
BOOL g_ShuttingDown
Definition: umpnpmgr.c:47
BOOL g_IsUISuppressed
Definition: umpnpmgr.c:46
DWORD WINAPI RpcServerThread(LPVOID lpParameter)
Definition: rpcserver.c:46
DWORD WINAPI PnpEventThread(LPVOID lpParameter)
DWORD WINAPI DeviceInstallThread(LPVOID lpParameter)
Definition: install.c:534
HANDLE hInstallEvent
Definition: install.c:40
HANDLE hDeviceInstallListMutex
Definition: install.c:44
HANDLE hNoPendingInstalls
Definition: install.c:41
HKEY hClassKey
Definition: umpnpmgr.c:45
LIST_ENTRY DeviceInstallListHead
Definition: install.c:45
HANDLE hUserToken
Definition: install.c:39
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
LIST_ENTRY ListEntry
Definition: precomp.h:38
Definition: precomp.h:43
PWSTR pszName
Definition: precomp.h:45
LIST_ENTRY ListEntry
Definition: precomp.h:44
Definition: typedefs.h:120
uint16_t * PWSTR
Definition: typedefs.h:56
#define ANYSIZE_ARRAY
Definition: typedefs.h:46
#define WINAPI
Definition: msvc.h:6
__wchar_t WCHAR
Definition: xmlstorage.h:180