mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 06:55:55 +00:00
[SDK][SVCHOST] Move all global svchost declarations to public header.
Also update the includes. It will allow to use those declarations globally where they are required (e. g. for SvchostPushServiceGlobals functions in some services). No functional changes.
This commit is contained in:
parent
2dfcb500e2
commit
dcc5dd2a69
2 changed files with 56 additions and 47 deletions
54
sdk/include/reactos/svc.h
Normal file
54
sdk/include/reactos/svc.h
Normal file
|
@ -0,0 +1,54 @@
|
|||
/*
|
||||
* PROJECT: ReactOS Service Host
|
||||
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
||||
* FILE: sdk/include/reactos/svc.h
|
||||
* PURPOSE: Global Header for Service Host
|
||||
* PROGRAMMERS: ReactOS Portable Systems Group
|
||||
*/
|
||||
/* See https://www.geoffchappell.com/studies/windows/win32/services/svchost/process/globaldata.htm?tx=78 */
|
||||
|
||||
#ifndef __SVC_H
|
||||
#define __SVC_H
|
||||
|
||||
//
|
||||
// This is the callback that a hosted service can register for stop notification
|
||||
//
|
||||
typedef VOID
|
||||
(CALLBACK *PSVCHOST_STOP_CALLBACK) (
|
||||
_In_ PVOID lpParameter,
|
||||
_In_ BOOLEAN TimerOrWaitFired
|
||||
);
|
||||
|
||||
//
|
||||
// Hosted Services and SvcHost Use this Structure
|
||||
//
|
||||
typedef struct _SVCHOST_GLOBALS
|
||||
{
|
||||
PVOID NullSid;
|
||||
PVOID WorldSid;
|
||||
PVOID LocalSid;
|
||||
PVOID NetworkSid;
|
||||
PVOID LocalSystemSid;
|
||||
PVOID LocalServiceSid;
|
||||
PVOID NetworkServiceSid;
|
||||
PVOID BuiltinDomainSid;
|
||||
PVOID AuthenticatedUserSid;
|
||||
PVOID AnonymousLogonSid;
|
||||
PVOID AliasAdminsSid;
|
||||
PVOID AliasUsersSid;
|
||||
PVOID AliasGuestsSid;
|
||||
PVOID AliasPowerUsersSid;
|
||||
PVOID AliasAccountOpsSid;
|
||||
PVOID AliasSystemOpsSid;
|
||||
PVOID AliasPrintOpsSid;
|
||||
PVOID AliasBackupOpsSid;
|
||||
PVOID RpcpStartRpcServer;
|
||||
PVOID RpcpStopRpcServer;
|
||||
PVOID RpcpStopRpcServerEx;
|
||||
PVOID SvcNetBiosOpen;
|
||||
PVOID SvcNetBiosClose;
|
||||
PVOID SvcNetBiosReset;
|
||||
PVOID SvcRegisterStopCallback;
|
||||
} SVCHOST_GLOBALS, *PSVCHOST_GLOBALS;
|
||||
|
||||
#endif /* __SVC_H */
|
Loading…
Add table
Add a link
Reference in a new issue