mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 15:43:19 +00:00
[UMPNPMGR] Split the monolithic monster: service, rpc and installer.
This commit is contained in:
parent
e71a94da20
commit
fe3ae24369
5 changed files with 4220 additions and 4087 deletions
75
base/services/umpnpmgr/precomp.h
Normal file
75
base/services/umpnpmgr/precomp.h
Normal file
|
@ -0,0 +1,75 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: base/services/umpnpmgr/install.c
|
||||
* PURPOSE: Device installer
|
||||
* PROGRAMMER: Eric Kohl (eric.kohl@reactos.org)
|
||||
* Hervé Poussineau (hpoussin@reactos.org)
|
||||
* Colin Finck (colin@reactos.org)
|
||||
*/
|
||||
|
||||
#ifndef _UMPNPMGR_PCH_
|
||||
#define _UMPNPMGR_PCH_
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
#include <stdarg.h>
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <winreg.h>
|
||||
#include <winsvc.h>
|
||||
#include <winuser.h>
|
||||
#include <dbt.h>
|
||||
#include <stdio.h>
|
||||
#include <cmfuncs.h>
|
||||
#include <rtlfuncs.h>
|
||||
#include <setypes.h>
|
||||
#include <umpnpmgr/sysguid.h>
|
||||
#include <cfgmgr32.h>
|
||||
#include <regstr.h>
|
||||
#include <userenv.h>
|
||||
#include <shlwapi.h>
|
||||
#include <pnp_s.h>
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
SLIST_ENTRY ListEntry;
|
||||
WCHAR DeviceIds[1];
|
||||
} DeviceInstallParams;
|
||||
|
||||
|
||||
/* install.c */
|
||||
|
||||
extern HANDLE hUserToken;
|
||||
extern HANDLE hInstallEvent;
|
||||
extern HANDLE hNoPendingInstalls;
|
||||
|
||||
extern SLIST_HEADER DeviceInstallListHead;
|
||||
extern HANDLE hDeviceInstallListNotEmpty;
|
||||
|
||||
BOOL
|
||||
SetupIsActive(VOID);
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
DeviceInstallThread(
|
||||
LPVOID lpParameter);
|
||||
|
||||
|
||||
/* rpcserver.c */
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
RpcServerThread(
|
||||
LPVOID lpParameter);
|
||||
|
||||
|
||||
/* umpnpmgr.c */
|
||||
|
||||
extern HKEY hEnumKey;
|
||||
extern HKEY hClassKey;
|
||||
|
||||
|
||||
#endif /* _UMPNPMGR_PCH_ */
|
Loading…
Add table
Add a link
Reference in a new issue