ReactOS
0.4.15-dev-1638-gc0caa5c
|
Go to the source code of this file.
Classes | |
struct | _SCMGR_HANDLE |
struct | _MANAGER_HANDLE |
struct | _SERVICE_HANDLE |
Macros | |
#define | NDEBUG |
#define | MANAGER_TAG 0x72674D68 /* 'hMgr' */ |
#define | SERVICE_TAG 0x63765368 /* 'hSvc' */ |
#define | INVALID_TAG 0xAABBCCDD |
#define | SC_MANAGER_READ |
#define | SC_MANAGER_WRITE |
#define | SC_MANAGER_EXECUTE |
#define | SERVICE_READ |
#define | SERVICE_WRITE |
#define | SERVICE_EXECUTE |
#define | TAG_ARRAY_SIZE 32 |
Typedefs | |
typedef struct _SCMGR_HANDLE | SCMGR_HANDLE |
typedef struct _MANAGER_HANDLE | MANAGER_HANDLE |
typedef struct _MANAGER_HANDLE * | PMANAGER_HANDLE |
typedef struct _SERVICE_HANDLE | SERVICE_HANDLE |
typedef struct _SERVICE_HANDLE * | PSERVICE_HANDLE |
Variables | |
static GENERIC_MAPPING | ScmManagerMapping |
static GENERIC_MAPPING | ScmServiceMapping |
DWORD | g_dwServiceBits = 0 |
#define INVALID_TAG 0xAABBCCDD |
Definition at line 25 of file rpcserver.c.
#define MANAGER_TAG 0x72674D68 /* 'hMgr' */ |
Definition at line 23 of file rpcserver.c.
#define NDEBUG |
Definition at line 18 of file rpcserver.c.
#define SC_MANAGER_EXECUTE |
Definition at line 58 of file rpcserver.c.
#define SC_MANAGER_READ |
Definition at line 48 of file rpcserver.c.
#define SC_MANAGER_WRITE |
Definition at line 53 of file rpcserver.c.
#define SERVICE_EXECUTE |
Definition at line 77 of file rpcserver.c.
#define SERVICE_READ |
Definition at line 66 of file rpcserver.c.
#define SERVICE_TAG 0x63765368 /* 'hSvc' */ |
Definition at line 24 of file rpcserver.c.
#define SERVICE_WRITE |
Definition at line 73 of file rpcserver.c.
#define TAG_ARRAY_SIZE 32 |
Definition at line 84 of file rpcserver.c.
typedef struct _MANAGER_HANDLE MANAGER_HANDLE |
typedef struct _MANAGER_HANDLE * PMANAGER_HANDLE |
typedef struct _SERVICE_HANDLE * PSERVICE_HANDLE |
typedef struct _SCMGR_HANDLE SCMGR_HANDLE |
typedef struct _SERVICE_HANDLE SERVICE_HANDLE |
|
static |
Definition at line 781 of file rpcserver.c.
Referenced by RCloseServiceHandle(), RControlService(), REnumDependentServicesA(), and REnumDependentServicesW().
void __RPC_FAR* __RPC_USER midl_user_allocate | ( | SIZE_T | len | ) |
Definition at line 6740 of file rpcserver.c.
void __RPC_USER midl_user_free | ( | void __RPC_FAR * | ptr | ) |
Definition at line 6746 of file rpcserver.c.
DWORD WINAPI RChangeServiceConfig2A | ( | SC_RPC_HANDLE | hService, |
SC_RPC_CONFIG_INFOA | Info | ||
) |
Definition at line 5015 of file rpcserver.c.
Referenced by ChangeServiceConfig2A().
DWORD WINAPI RChangeServiceConfig2W | ( | SC_RPC_HANDLE | hService, |
SC_RPC_CONFIG_INFOW | Info | ||
) |
Definition at line 5416 of file rpcserver.c.
Referenced by ChangeServiceConfig2W(), and RChangeServiceConfig2A().
DWORD WINAPI RChangeServiceConfigA | ( | SC_RPC_HANDLE | hService, |
DWORD | dwServiceType, | ||
DWORD | dwStartType, | ||
DWORD | dwErrorControl, | ||
LPSTR | lpBinaryPathName, | ||
LPSTR | lpLoadOrderGroup, | ||
LPDWORD | lpdwTagId, | ||
LPBYTE | lpDependencies, | ||
DWORD | dwDependSize, | ||
LPSTR | lpServiceStartName, | ||
LPBYTE | lpPassword, | ||
DWORD | dwPwSize, | ||
LPSTR | lpDisplayName | ||
) |
Definition at line 3457 of file rpcserver.c.
Referenced by ChangeServiceConfigA().
DWORD WINAPI RChangeServiceConfigW | ( | SC_RPC_HANDLE | hService, |
DWORD | dwServiceType, | ||
DWORD | dwStartType, | ||
DWORD | dwErrorControl, | ||
LPWSTR | lpBinaryPathName, | ||
LPWSTR | lpLoadOrderGroup, | ||
LPDWORD | lpdwTagId, | ||
LPBYTE | lpDependencies, | ||
DWORD | dwDependSize, | ||
LPWSTR | lpServiceStartName, | ||
LPBYTE | lpPassword, | ||
DWORD | dwPwSize, | ||
LPWSTR | lpDisplayName | ||
) |
Definition at line 1918 of file rpcserver.c.
Referenced by ChangeServiceConfigW(), and RChangeServiceConfigA().
DWORD WINAPI RCloseNotifyHandle | ( | LPSC_NOTIFY_RPC_HANDLE | phNotify, |
PBOOL | pfApcFired | ||
) |
Definition at line 6661 of file rpcserver.c.
DWORD WINAPI RCloseServiceHandle | ( | LPSC_RPC_HANDLE | hSCObject | ) |
Definition at line 934 of file rpcserver.c.
Referenced by CloseServiceHandle(), and SC_RPC_HANDLE_rundown().
DWORD WINAPI RControlService | ( | SC_RPC_HANDLE | hService, |
DWORD | dwControl, | ||
LPSERVICE_STATUS | lpServiceStatus | ||
) |
Definition at line 1067 of file rpcserver.c.
Referenced by ControlService().
DWORD WINAPI RControlServiceExA | ( | SC_RPC_HANDLE | hService, |
DWORD | dwControl, | ||
DWORD | dwInfoLevel | ||
) |
Definition at line 6673 of file rpcserver.c.
DWORD WINAPI RControlServiceExW | ( | SC_RPC_HANDLE | hService, |
DWORD | dwControl, | ||
DWORD | dwInfoLevel | ||
) |
Definition at line 6686 of file rpcserver.c.
DWORD WINAPI RCreateServiceA | ( | SC_RPC_HANDLE | hSCManager, |
LPSTR | lpServiceName, | ||
LPSTR | lpDisplayName, | ||
DWORD | dwDesiredAccess, | ||
DWORD | dwServiceType, | ||
DWORD | dwStartType, | ||
DWORD | dwErrorControl, | ||
LPSTR | lpBinaryPathName, | ||
LPSTR | lpLoadOrderGroup, | ||
LPDWORD | lpdwTagId, | ||
LPBYTE | lpDependencies, | ||
DWORD | dwDependSize, | ||
LPSTR | lpServiceStartName, | ||
LPBYTE | lpPassword, | ||
DWORD | dwPwSize, | ||
LPSC_RPC_HANDLE | lpServiceHandle | ||
) |
Definition at line 3588 of file rpcserver.c.
Referenced by CreateServiceA().
DWORD WINAPI RCreateServiceW | ( | SC_RPC_HANDLE | hSCManager, |
LPCWSTR | lpServiceName, | ||
LPCWSTR | lpDisplayName, | ||
DWORD | dwDesiredAccess, | ||
DWORD | dwServiceType, | ||
DWORD | dwStartType, | ||
DWORD | dwErrorControl, | ||
LPCWSTR | lpBinaryPathName, | ||
LPCWSTR | lpLoadOrderGroup, | ||
LPDWORD | lpdwTagId, | ||
LPBYTE | lpDependencies, | ||
DWORD | dwDependSize, | ||
LPCWSTR | lpServiceStartName, | ||
LPBYTE | lpPassword, | ||
DWORD | dwPwSize, | ||
LPSC_RPC_HANDLE | lpServiceHandle | ||
) |
Definition at line 2269 of file rpcserver.c.
Referenced by CreateServiceW(), and RCreateServiceA().
DWORD WINAPI RCreateServiceWOW64A | ( | handle_t | BindingHandle, |
LPSTR | lpServiceName, | ||
LPSTR | lpDisplayName, | ||
DWORD | dwDesiredAccess, | ||
DWORD | dwServiceType, | ||
DWORD | dwStartType, | ||
DWORD | dwErrorControl, | ||
LPSTR | lpBinaryPathName, | ||
LPSTR | lpLoadOrderGroup, | ||
LPDWORD | lpdwTagId, | ||
LPBYTE | lpDependencies, | ||
DWORD | dwDependSize, | ||
LPSTR | lpServiceStartName, | ||
LPBYTE | lpPassword, | ||
DWORD | dwPwSize, | ||
LPSC_RPC_HANDLE | lpServiceHandle | ||
) |
Definition at line 6537 of file rpcserver.c.
DWORD WINAPI RCreateServiceWOW64W | ( | handle_t | BindingHandle, |
LPWSTR | lpServiceName, | ||
LPWSTR | lpDisplayName, | ||
DWORD | dwDesiredAccess, | ||
DWORD | dwServiceType, | ||
DWORD | dwStartType, | ||
DWORD | dwErrorControl, | ||
LPWSTR | lpBinaryPathName, | ||
LPWSTR | lpLoadOrderGroup, | ||
LPDWORD | lpdwTagId, | ||
LPBYTE | lpDependencies, | ||
DWORD | dwDependSize, | ||
LPWSTR | lpServiceStartName, | ||
LPBYTE | lpPassword, | ||
DWORD | dwPwSize, | ||
LPSC_RPC_HANDLE | lpServiceHandle | ||
) |
Definition at line 6563 of file rpcserver.c.
DWORD WINAPI RDeleteService | ( | SC_RPC_HANDLE | hService | ) |
Definition at line 1302 of file rpcserver.c.
Referenced by DeleteService().
DWORD WINAPI REnumDependentServicesA | ( | SC_RPC_HANDLE | hService, |
DWORD | dwServiceState, | ||
LPBYTE | lpServices, | ||
DWORD | cbBufSize, | ||
LPBOUNDED_DWORD_256K | pcbBytesNeeded, | ||
LPBOUNDED_DWORD_256K | lpServicesReturned | ||
) |
Definition at line 3741 of file rpcserver.c.
Referenced by EnumDependentServicesA().
DWORD WINAPI REnumDependentServicesW | ( | SC_RPC_HANDLE | hService, |
DWORD | dwServiceState, | ||
LPBYTE | lpServices, | ||
DWORD | cbBufSize, | ||
LPBOUNDED_DWORD_256K | pcbBytesNeeded, | ||
LPBOUNDED_DWORD_256K | lpServicesReturned | ||
) |
Definition at line 2703 of file rpcserver.c.
Referenced by EnumDependentServicesW().
DWORD WINAPI REnumServiceGroupW | ( | SC_RPC_HANDLE | hSCManager, |
DWORD | dwServiceType, | ||
DWORD | dwServiceState, | ||
LPBYTE | lpBuffer, | ||
DWORD | cbBufSize, | ||
LPBOUNDED_DWORD_256K | pcbBytesNeeded, | ||
LPBOUNDED_DWORD_256K | lpServicesReturned, | ||
LPBOUNDED_DWORD_256K | lpResumeIndex, | ||
LPCWSTR | pszGroupName | ||
) |
Definition at line 4749 of file rpcserver.c.
Referenced by EnumServiceGroupW(), and REnumServicesStatusW().
DWORD WINAPI REnumServicesStatusA | ( | SC_RPC_HANDLE | hSCManager, |
DWORD | dwServiceType, | ||
DWORD | dwServiceState, | ||
LPBYTE | lpBuffer, | ||
DWORD | dwBufSize, | ||
LPBOUNDED_DWORD_256K | pcbBytesNeeded, | ||
LPBOUNDED_DWORD_256K | lpServicesReturned, | ||
LPBOUNDED_DWORD_256K | lpResumeHandle | ||
) |
Definition at line 3895 of file rpcserver.c.
Referenced by EnumServicesStatusA().
DWORD WINAPI REnumServicesStatusExA | ( | SC_RPC_HANDLE | hSCManager, |
SC_ENUM_TYPE | InfoLevel, | ||
DWORD | dwServiceType, | ||
DWORD | dwServiceState, | ||
LPBYTE | lpBuffer, | ||
DWORD | cbBufSize, | ||
LPBOUNDED_DWORD_256K | pcbBytesNeeded, | ||
LPBOUNDED_DWORD_256K | lpServicesReturned, | ||
LPBOUNDED_DWORD_256K | lpResumeIndex, | ||
LPCSTR | pszGroupName | ||
) |
Definition at line 6092 of file rpcserver.c.
Referenced by EnumServicesStatusExA().
DWORD WINAPI REnumServicesStatusExW | ( | SC_RPC_HANDLE | hSCManager, |
SC_ENUM_TYPE | InfoLevel, | ||
DWORD | dwServiceType, | ||
DWORD | dwServiceState, | ||
LPBYTE | lpBuffer, | ||
DWORD | cbBufSize, | ||
LPBOUNDED_DWORD_256K | pcbBytesNeeded, | ||
LPBOUNDED_DWORD_256K | lpServicesReturned, | ||
LPBOUNDED_DWORD_256K | lpResumeIndex, | ||
LPCWSTR | pszGroupName | ||
) |
Definition at line 6231 of file rpcserver.c.