ReactOS 0.4.16-dev-1007-g2e85425
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#define LOGCONF_NAME_BUFFER_SIZE 32
37
38typedef struct
39{
41 WCHAR DeviceIds[ANYSIZE_ARRAY];
43
44typedef struct
45{
49
50/* event.c */
51
55 LPVOID lpParameter);
56
57
58/* install.c */
59
60extern HANDLE hUserToken;
63
64/* Device-install event list */
68
69BOOL
71
75 LPVOID lpParameter);
76
77
78/* rpcserver.c */
79
81
85 LPVOID lpParameter);
86
87
88/* umpnpmgr.c */
89
90extern HKEY hEnumKey;
91extern HKEY hClassKey;
93extern BOOL g_ShuttingDown;
94
95BOOL
97
98#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:40
Definition: precomp.h:45
PWSTR pszName
Definition: precomp.h:47
LIST_ENTRY ListEntry
Definition: precomp.h:46
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