23 TRACE(
"StartRpcServer() called\n");
31 ERR(
"RpcServerUseProtseqEpW() failed (Status %lx)\n",
Status);
40 ERR(
"RpcServerRegisterIf() failed (Status %lx)\n",
Status);
47 ERR(
"RpcServerListen() failed (Status %lx)\n",
Status);
51 TRACE(
"StartRpcServer() done\n");
302 LPDWORD lpcbSecurityDescriptor,
416 TRACE(
"BaseInitiateSystemShutdown()\n");
421 bRebootAfterShutdown,
432 TRACE(
"BaseAbortSystemShutdown()\n");
502 TRACE(
"BaseInitiateSystemShutdownEx()\n");
503 TRACE(
" Message: %wZ\n", lpMessage);
505 TRACE(
" Force: %d\n", bForceAppsClosed);
506 TRACE(
" Reboot: %d\n", bRebootAfterShutdown);
514 bRebootAfterShutdown,
DWORD StartRpcServer(VOID)
error_status_t WINAPI OpenPerformanceData(PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
error_status_t WINAPI BaseRegEnumValue(RPC_HKEY hKey, DWORD dwIndex, PRPC_UNICODE_STRING lpValueNameIn, PRPC_UNICODE_STRING lpValueNameOut, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData, LPDWORD lpcbLen)
void __RPC_USER RPC_HKEY_rundown(RPC_HKEY hSCObject)
error_status_t __stdcall OpenPerformanceNlsText(PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
error_status_t __stdcall BaseRegDeleteKeyEx(RPC_HKEY hKey, PRPC_UNICODE_STRING lpSubKey, REGSAM AccessMask, DWORD Reserved)
error_status_t WINAPI BaseRegDeleteValue(RPC_HKEY hKey, PRPC_UNICODE_STRING lpValueName)
error_status_t WINAPI OpenUsers(PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
error_status_t WINAPI BaseRegEnumKey(RPC_HKEY hKey, DWORD dwIndex, PRPC_UNICODE_STRING lpNameIn, PRPC_UNICODE_STRING lpNameOut, PRPC_UNICODE_STRING lpClassIn, PRPC_UNICODE_STRING *lplpClassOut, PFILETIME lpftLastWriteTime)
error_status_t __stdcall BaseRegQueryMultipleValues(RPC_HKEY hKey, PRVALENT val_listIn, PRVALENT val_listOut, DWORD num_vals, char *lpvalueBuf, LPDWORD ldwTotsize)
void __stdcall BaseRegNotifyChangeKeyValue(handle_t IDL_handle)
error_status_t __stdcall BaseRegOpenKey(RPC_HKEY hKey, PRPC_UNICODE_STRING lpSubKey, DWORD dwOptions, REGSAM samDesired, PRPC_HKEY phkResult)
error_status_t __stdcall BaseRegSaveKey(RPC_HKEY hKey, PRPC_UNICODE_STRING lpFile, PRPC_SECURITY_ATTRIBUTES pSecurityAttributes)
void __RPC_USER MIDL_user_free(void __RPC_FAR *ptr)
ULONG __stdcall BaseInitiateSystemShutdown(PREGISTRY_SERVER_NAME ServerName, PRPC_UNICODE_STRING lpMessage, ULONG dwTimeout, BOOLEAN bForceAppsClosed, BOOLEAN bRebootAfterShutdown)
error_status_t __stdcall OpenCurrentConfig(PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
error_status_t __stdcall BaseRegSetValue(RPC_HKEY hKey, PRPC_UNICODE_STRING lpValueName, DWORD dwType, LPBYTE lpData, DWORD cbData)
error_status_t __stdcall BaseRegSaveKeyEx(RPC_HKEY hKey, PRPC_UNICODE_STRING lpFile, PRPC_SECURITY_ATTRIBUTES pSecurityAttributes, DWORD Flags)
error_status_t __stdcall BaseRegReplaceKey(RPC_HKEY hKey, PRPC_UNICODE_STRING lpSubKey, PRPC_UNICODE_STRING lpNewFile, PRPC_UNICODE_STRING lpOldFile)
error_status_t __stdcall BaseRegSetKeySecurity(RPC_HKEY hKey, SECURITY_INFORMATION SecurityInformation, PRPC_SECURITY_DESCRIPTOR pRpcSecurityDescriptor)
error_status_t WINAPI OpenCurrentUser(PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
error_status_t __stdcall BaseRegGetVersion(RPC_HKEY hKey, LPDWORD lpdwVersion)
error_status_t __stdcall BaseRegLoadKey(RPC_HKEY hKey, PRPC_UNICODE_STRING lpSubKey, PRPC_UNICODE_STRING lpFile)
void __stdcall OpenDynData(handle_t IDL_handle)
error_status_t WINAPI BaseRegCreateKey(RPC_HKEY hKey, PRPC_UNICODE_STRING lpSubKey, PRPC_UNICODE_STRING lpClass, DWORD dwOptions, REGSAM samDesired, PRPC_SECURITY_ATTRIBUTES lpSecurityAttributes, PRPC_HKEY phkResult, LPDWORD lpdwDisposition)
error_status_t __stdcall BaseRegQueryValue(RPC_HKEY hKey, PRPC_UNICODE_STRING lpValueName, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData, LPDWORD lpcbLen)
ULONG __stdcall BaseAbortSystemShutdown(PREGISTRY_SERVER_NAME ServerName)
error_status_t WINAPI OpenLocalMachine(PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
error_status_t __stdcall BaseRegFlushKey(RPC_HKEY hKey)
error_status_t __stdcall BaseRegUnLoadKey(RPC_HKEY hKey, PRPC_UNICODE_STRING lpSubKey)
error_status_t __stdcall BaseRegRestoreKey(RPC_HKEY hKey, PRPC_UNICODE_STRING lpFile, DWORD Flags)
error_status_t __stdcall BaseRegQueryInfoKey(RPC_HKEY hKey, PRPC_UNICODE_STRING lpClassIn, PRPC_UNICODE_STRING lpClassOut, LPDWORD lpcSubKeys, LPDWORD lpcbMaxSubKeyLen, LPDWORD lpcbMaxClassLen, LPDWORD lpcValues, LPDWORD lpcbMaxValueNameLen, LPDWORD lpcbMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime)
error_status_t __stdcall BaseRegGetKeySecurity(RPC_HKEY hKey, SECURITY_INFORMATION SecurityInformation, PRPC_SECURITY_DESCRIPTOR pRpcSecurityDescriptorIn, PRPC_SECURITY_DESCRIPTOR pRpcSecurityDescriptorOut)
error_status_t __stdcall OpenPerformanceText(PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
void __RPC_FAR *__RPC_USER MIDL_user_allocate(SIZE_T len)
error_status_t WINAPI BaseRegCloseKey(PRPC_HKEY hKey)
ULONG __stdcall BaseInitiateSystemShutdownEx(PREGISTRY_SERVER_NAME ServerName, PRPC_UNICODE_STRING lpMessage, ULONG dwTimeout, BOOLEAN bForceAppsClosed, BOOLEAN bRebootAfterShutdown, ULONG dwReason)
error_status_t WINAPI OpenClassesRoot(PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
error_status_t WINAPI BaseRegDeleteKey(RPC_HKEY hKey, PRPC_UNICODE_STRING lpSubKey)
error_status_t __stdcall BaseRegQueryMultipleValues2(RPC_HKEY hKey, PRVALENT val_listIn, PRVALENT val_listOut, DWORD num_vals, char *lpvalueBuf, LPDWORD ldwTotsize, LPDWORD ldwRequiredSize)
DWORD TerminateSystemShutdown(VOID)
DWORD StartSystemShutdown(IN PUNICODE_STRING pMessage, IN ULONG dwTimeout, IN BOOLEAN bForceAppsClosed, IN BOOLEAN bRebootAfterShutdown, IN ULONG dwReason)
unsigned long error_status_t
#define HeapFree(x, y, z)
_Must_inspect_result_ _In_ PFILE_OBJECT _In_ SECURITY_INFORMATION SecurityInformation
DWORD SECURITY_INFORMATION
_In_ ACCESS_MASK AccessMask
RPC_STATUS WINAPI RpcServerListen(UINT MinimumCallThreads, UINT MaxCalls, UINT DontWait)
RPC_STATUS WINAPI RpcServerRegisterIf(RPC_IF_HANDLE IfSpec, UUID *MgrTypeUuid, RPC_MGR_EPV *MgrEpv)
RPC_STATUS WINAPI RpcServerUseProtseqEpW(RPC_WSTR Protseq, UINT MaxCalls, RPC_WSTR Endpoint, LPVOID SecurityDescriptor)
#define RPC_C_PROTSEQ_MAX_REQS_DEFAULT
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD dwTimeout
_Reserved_ PVOID Reserved
PWCHAR PREGISTRY_SERVER_NAME
_Must_inspect_result_ _In_ ULONG Flags