ReactOS  0.4.13-dev-73-gcfe54aa
rpcserver.c File Reference
#include "winlogon.h"
#include <rpc.h>
#include <winreg_s.h>
Include dependency graph for rpcserver.c:

Go to the source code of this file.

Functions

BOOL StartRpcServer (VOID)
 
void __RPC_FAR *__RPC_USER MIDL_user_allocate (SIZE_T len)
 
void __RPC_USER MIDL_user_free (void __RPC_FAR *ptr)
 
void __RPC_USER RPC_HKEY_rundown (RPC_HKEY hSCObject)
 
error_status_t WINAPI OpenClassesRoot (PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
 
error_status_t WINAPI OpenCurrentUser (PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
 
error_status_t WINAPI OpenLocalMachine (PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
 
error_status_t WINAPI OpenPerformanceData (PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
 
error_status_t WINAPI OpenUsers (PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
 
error_status_t WINAPI BaseRegCloseKey (PRPC_HKEY hKey)
 
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 WINAPI BaseRegDeleteKey (RPC_HKEY hKey, PRPC_UNICODE_STRING lpSubKey)
 
error_status_t WINAPI BaseRegDeleteValue (RPC_HKEY hKey, PRPC_UNICODE_STRING lpValueName)
 
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 WINAPI BaseRegEnumValue (RPC_HKEY hKey, DWORD dwIndex, PRPC_UNICODE_STRING lpValueNameIn, PRPC_UNICODE_STRING lpValueNameOut, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData, LPDWORD lpcbLen)
 
error_status_t __stdcall BaseRegFlushKey (RPC_HKEY hKey)
 
error_status_t __stdcall BaseRegGetKeySecurity (RPC_HKEY hKey, SECURITY_INFORMATION SecurityInformation, PRPC_SECURITY_DESCRIPTOR pRpcSecurityDescriptorIn, PRPC_SECURITY_DESCRIPTOR pRpcSecurityDescriptorOut)
 
error_status_t __stdcall BaseRegLoadKey (RPC_HKEY hKey, PRPC_UNICODE_STRING lpSubKey, PRPC_UNICODE_STRING lpFile)
 
void __stdcall Opnum14NotImplemented (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 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 BaseRegQueryValue (RPC_HKEY hKey, PRPC_UNICODE_STRING lpValueName, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData, LPDWORD lpcbLen)
 
error_status_t __stdcall BaseRegReplaceKey (RPC_HKEY hKey, PRPC_UNICODE_STRING lpSubKey, PRPC_UNICODE_STRING lpNewFile, PRPC_UNICODE_STRING lpOldFile)
 
error_status_t __stdcall BaseRegRestoreKey (RPC_HKEY hKey, PRPC_UNICODE_STRING lpFile, DWORD Flags)
 
error_status_t __stdcall BaseRegSaveKey (RPC_HKEY hKey, PRPC_UNICODE_STRING lpFile, PRPC_SECURITY_ATTRIBUTES pSecurityAttributes)
 
error_status_t __stdcall BaseRegSetKeySecurity (RPC_HKEY hKey, SECURITY_INFORMATION SecurityInformation, PRPC_SECURITY_DESCRIPTOR pRpcSecurityDescriptor)
 
error_status_t __stdcall BaseRegSetValue (RPC_HKEY hKey, PRPC_UNICODE_STRING lpValueName, DWORD dwType, LPBYTE lpData, DWORD cbData)
 
error_status_t __stdcall BaseRegUnLoadKey (RPC_HKEY hKey, PRPC_UNICODE_STRING lpSubKey)
 
ULONG __stdcall BaseInitiateSystemShutdown (PREGISTRY_SERVER_NAME ServerName, PRPC_UNICODE_STRING lpMessage, ULONG dwTimeout, BOOLEAN bForceAppsClosed, BOOLEAN bRebootAfterShutdown)
 
ULONG __stdcall BaseAbortSystemShutdown (PREGISTRY_SERVER_NAME ServerName)
 
error_status_t __stdcall BaseRegGetVersion (RPC_HKEY hKey, LPDWORD lpdwVersion)
 
error_status_t __stdcall OpenCurrentConfig (PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
 
void __stdcall Opnum28NotImplemented (handle_t IDL_handle)
 
error_status_t __stdcall BaseRegQueryMultipleValues (RPC_HKEY hKey, PRVALENT val_listIn, PRVALENT val_listOut, DWORD num_vals, char *lpvalueBuf, LPDWORD ldwTotsize)
 
ULONG __stdcall BaseInitiateSystemShutdownEx (PREGISTRY_SERVER_NAME ServerName, PRPC_UNICODE_STRING lpMessage, ULONG dwTimeout, BOOLEAN bForceAppsClosed, BOOLEAN bRebootAfterShutdown, ULONG dwReason)
 
error_status_t __stdcall BaseRegSaveKeyEx (RPC_HKEY hKey, PRPC_UNICODE_STRING lpFile, PRPC_SECURITY_ATTRIBUTES pSecurityAttributes, DWORD Flags)
 
error_status_t __stdcall OpenPerformanceText (PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
 
error_status_t __stdcall OpenPerformanceNlsText (PREGISTRY_SERVER_NAME ServerName, REGSAM samDesired, PRPC_HKEY phKey)
 
error_status_t __stdcall BaseRegQueryMultipleValues2 (RPC_HKEY hKey, PRVALENT val_listIn, PRVALENT val_listOut, DWORD num_vals, char *lpvalueBuf, LPDWORD ldwTotsize, LPDWORD ldwRequiredSize)
 
error_status_t __stdcall BaseRegDeleteKeyEx (RPC_HKEY hKey, PRPC_UNICODE_STRING lpSubKey, REGSAM AccessMask, DWORD Reserved)
 

Function Documentation

◆ BaseAbortSystemShutdown()

ULONG __stdcall BaseAbortSystemShutdown ( PREGISTRY_SERVER_NAME  ServerName)

Definition at line 429 of file rpcserver.c.

431 {
432  TRACE("BaseAbortSystemShutdown()\n");
433 
434  //FIXME: Verify that the caller actually has the correct privileges
435 
436  return TerminateSystemShutdown();
437 }
DWORD TerminateSystemShutdown(VOID)
Definition: shutdown.c:208
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by AbortSystemShutdownW().

◆ BaseInitiateSystemShutdown()

ULONG __stdcall BaseInitiateSystemShutdown ( PREGISTRY_SERVER_NAME  ServerName,
PRPC_UNICODE_STRING  lpMessage,
ULONG  dwTimeout,
BOOLEAN  bForceAppsClosed,
BOOLEAN  bRebootAfterShutdown 
)

Definition at line 409 of file rpcserver.c.

415 {
416  TRACE("BaseInitiateSystemShutdown()\n");
417  return BaseInitiateSystemShutdownEx(ServerName,
418  lpMessage,
419  dwTimeout,
420  bForceAppsClosed,
421  bRebootAfterShutdown,
422  0);
423 }
#define TRACE(s)
Definition: solgame.cpp:4
ULONG __stdcall BaseInitiateSystemShutdownEx(PREGISTRY_SERVER_NAME ServerName, PRPC_UNICODE_STRING lpMessage, ULONG dwTimeout, BOOLEAN bForceAppsClosed, BOOLEAN bRebootAfterShutdown, ULONG dwReason)
Definition: rpcserver.c:494
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD dwTimeout
Definition: wincrypt.h:6081

Referenced by InitiateSystemShutdownW().

◆ BaseInitiateSystemShutdownEx()

ULONG __stdcall BaseInitiateSystemShutdownEx ( PREGISTRY_SERVER_NAME  ServerName,
PRPC_UNICODE_STRING  lpMessage,
ULONG  dwTimeout,
BOOLEAN  bForceAppsClosed,
BOOLEAN  bRebootAfterShutdown,
ULONG  dwReason 
)

Definition at line 494 of file rpcserver.c.

501 {
502  TRACE("BaseInitiateSystemShutdownEx()\n");
503  TRACE(" Message: %wZ\n", lpMessage);
504  TRACE(" Timeout: %lu\n", dwTimeout);
505  TRACE(" Force: %d\n", bForceAppsClosed);
506  TRACE(" Reboot: %d\n", bRebootAfterShutdown);
507  TRACE(" Reason: %lu\n", dwReason);
508 
509  //FIXME: Verify that the caller actually has the correct privileges
510 
511  return StartSystemShutdown((PUNICODE_STRING)lpMessage,
512  dwTimeout,
513  bForceAppsClosed,
514  bRebootAfterShutdown,
515  dwReason);
516 }
DWORD dwReason
Definition: misc.cpp:154
#define TRACE(s)
Definition: solgame.cpp:4
DWORD StartSystemShutdown(PUNICODE_STRING lpMessage, ULONG dwTimeout, BOOLEAN bForceAppsClosed, BOOLEAN bRebootAfterShutdown, ULONG dwReason)
Definition: shutdown.c:218
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD dwTimeout
Definition: wincrypt.h:6081

Referenced by BaseInitiateSystemShutdown(), and InitiateSystemShutdownExW().

◆ BaseRegCloseKey()

error_status_t WINAPI BaseRegCloseKey ( PRPC_HKEY  hKey)

Definition at line 141 of file rpcserver.c.

143 {
144  TRACE("\n");
145  return ERROR_SUCCESS;
146 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegCreateKey()

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 
)

Definition at line 152 of file rpcserver.c.

161 {
162  TRACE("\n");
163  return ERROR_SUCCESS;
164 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegDeleteKey()

error_status_t WINAPI BaseRegDeleteKey ( RPC_HKEY  hKey,
PRPC_UNICODE_STRING  lpSubKey 
)

Definition at line 170 of file rpcserver.c.

173 {
174  TRACE("\n");
175  return ERROR_SUCCESS;
176 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegDeleteKeyEx()

error_status_t __stdcall BaseRegDeleteKeyEx ( RPC_HKEY  hKey,
PRPC_UNICODE_STRING  lpSubKey,
REGSAM  AccessMask,
DWORD  Reserved 
)

Definition at line 579 of file rpcserver.c.

584 {
585  TRACE("\n");
586  return ERROR_SUCCESS;
587 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegDeleteValue()

error_status_t WINAPI BaseRegDeleteValue ( RPC_HKEY  hKey,
PRPC_UNICODE_STRING  lpValueName 
)

Definition at line 182 of file rpcserver.c.

185 {
186  TRACE("\n");
187  return ERROR_SUCCESS;
188 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegEnumKey()

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 
)

Definition at line 194 of file rpcserver.c.

202 {
203  TRACE("\n");
204  return ERROR_SUCCESS;
205 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegEnumValue()

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 
)

Definition at line 211 of file rpcserver.c.

220 {
221  TRACE("\n");
222  return ERROR_SUCCESS;
223 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegFlushKey()

error_status_t __stdcall BaseRegFlushKey ( RPC_HKEY  hKey)

Definition at line 229 of file rpcserver.c.

231 {
232  TRACE("\n");
233  return ERROR_SUCCESS;
234 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegGetKeySecurity()

error_status_t __stdcall BaseRegGetKeySecurity ( RPC_HKEY  hKey,
SECURITY_INFORMATION  SecurityInformation,
PRPC_SECURITY_DESCRIPTOR  pRpcSecurityDescriptorIn,
PRPC_SECURITY_DESCRIPTOR  pRpcSecurityDescriptorOut 
)

Definition at line 240 of file rpcserver.c.

245 {
246  TRACE("\n");
247  return ERROR_SUCCESS;
248 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegGetVersion()

error_status_t __stdcall BaseRegGetVersion ( RPC_HKEY  hKey,
LPDWORD  lpdwVersion 
)

Definition at line 443 of file rpcserver.c.

446 {
447  TRACE("\n");
448  return ERROR_SUCCESS;
449 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegLoadKey()

error_status_t __stdcall BaseRegLoadKey ( RPC_HKEY  hKey,
PRPC_UNICODE_STRING  lpSubKey,
PRPC_UNICODE_STRING  lpFile 
)

Definition at line 254 of file rpcserver.c.

258 {
259  TRACE("\n");
260  return ERROR_SUCCESS;
261 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegOpenKey()

error_status_t __stdcall BaseRegOpenKey ( RPC_HKEY  hKey,
PRPC_UNICODE_STRING  lpSubKey,
DWORD  dwOptions,
REGSAM  samDesired,
PRPC_HKEY  phkResult 
)

Definition at line 277 of file rpcserver.c.

283 {
284  TRACE("\n");
285  return ERROR_SUCCESS;
286 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegQueryInfoKey()

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 
)

Definition at line 292 of file rpcserver.c.

304 {
305  TRACE("\n");
306  return ERROR_SUCCESS;
307 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegQueryMultipleValues()

error_status_t __stdcall BaseRegQueryMultipleValues ( RPC_HKEY  hKey,
PRVALENT  val_listIn,
PRVALENT  val_listOut,
DWORD  num_vals,
char lpvalueBuf,
LPDWORD  ldwTotsize 
)

Definition at line 478 of file rpcserver.c.

485 {
486  TRACE("\n");
487  return ERROR_SUCCESS;
488 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegQueryMultipleValues2()

error_status_t __stdcall BaseRegQueryMultipleValues2 ( RPC_HKEY  hKey,
PRVALENT  val_listIn,
PRVALENT  val_listOut,
DWORD  num_vals,
char lpvalueBuf,
LPDWORD  ldwTotsize,
LPDWORD  ldwRequiredSize 
)

Definition at line 562 of file rpcserver.c.

570 {
571  TRACE("\n");
572  return ERROR_SUCCESS;
573 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegQueryValue()

error_status_t __stdcall BaseRegQueryValue ( RPC_HKEY  hKey,
PRPC_UNICODE_STRING  lpValueName,
LPDWORD  lpType,
LPBYTE  lpData,
LPDWORD  lpcbData,
LPDWORD  lpcbLen 
)

Definition at line 313 of file rpcserver.c.

320 {
321  TRACE("\n");
322  return ERROR_SUCCESS;
323 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegReplaceKey()

error_status_t __stdcall BaseRegReplaceKey ( RPC_HKEY  hKey,
PRPC_UNICODE_STRING  lpSubKey,
PRPC_UNICODE_STRING  lpNewFile,
PRPC_UNICODE_STRING  lpOldFile 
)

Definition at line 329 of file rpcserver.c.

334 {
335  TRACE("\n");
336  return ERROR_SUCCESS;
337 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegRestoreKey()

error_status_t __stdcall BaseRegRestoreKey ( RPC_HKEY  hKey,
PRPC_UNICODE_STRING  lpFile,
DWORD  Flags 
)

Definition at line 343 of file rpcserver.c.

347 {
348  TRACE("\n");
349  return ERROR_SUCCESS;
350 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegSaveKey()

error_status_t __stdcall BaseRegSaveKey ( RPC_HKEY  hKey,
PRPC_UNICODE_STRING  lpFile,
PRPC_SECURITY_ATTRIBUTES  pSecurityAttributes 
)

Definition at line 356 of file rpcserver.c.

360 {
361  TRACE("\n");
362  return ERROR_SUCCESS;
363 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegSaveKeyEx()

error_status_t __stdcall BaseRegSaveKeyEx ( RPC_HKEY  hKey,
PRPC_UNICODE_STRING  lpFile,
PRPC_SECURITY_ATTRIBUTES  pSecurityAttributes,
DWORD  Flags 
)

Definition at line 522 of file rpcserver.c.

527 {
528  TRACE("\n");
529  return ERROR_SUCCESS;
530 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegSetKeySecurity()

error_status_t __stdcall BaseRegSetKeySecurity ( RPC_HKEY  hKey,
SECURITY_INFORMATION  SecurityInformation,
PRPC_SECURITY_DESCRIPTOR  pRpcSecurityDescriptor 
)

Definition at line 369 of file rpcserver.c.

373 {
374  TRACE("\n");
375  return ERROR_SUCCESS;
376 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegSetValue()

error_status_t __stdcall BaseRegSetValue ( RPC_HKEY  hKey,
PRPC_UNICODE_STRING  lpValueName,
DWORD  dwType,
LPBYTE  lpData,
DWORD  cbData 
)

Definition at line 382 of file rpcserver.c.

388 {
389  TRACE("\n");
390  return ERROR_SUCCESS;
391 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ BaseRegUnLoadKey()

error_status_t __stdcall BaseRegUnLoadKey ( RPC_HKEY  hKey,
PRPC_UNICODE_STRING  lpSubKey 
)

Definition at line 397 of file rpcserver.c.

400 {
401  TRACE("\n");
402  return ERROR_SUCCESS;
403 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ MIDL_user_allocate()

void __RPC_FAR* __RPC_USER MIDL_user_allocate ( SIZE_T  len)

Definition at line 56 of file rpcserver.c.

57 {
59 }
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
GLenum GLsizei len
Definition: glext.h:6722
#define HEAP_ZERO_MEMORY
Definition: compat.h:123

◆ MIDL_user_free()

void __RPC_USER MIDL_user_free ( void __RPC_FAR ptr)

Definition at line 62 of file rpcserver.c.

63 {
65 }
static PVOID ptr
Definition: dispmode.c:27
#define GetProcessHeap()
Definition: compat.h:395
#define HeapFree(x, y, z)
Definition: compat.h:394

◆ OpenClassesRoot()

error_status_t WINAPI OpenClassesRoot ( PREGISTRY_SERVER_NAME  ServerName,
REGSAM  samDesired,
PRPC_HKEY  phKey 
)

Definition at line 76 of file rpcserver.c.

80 {
81  TRACE("\n");
82  return ERROR_SUCCESS;
83 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ OpenCurrentConfig()

error_status_t __stdcall OpenCurrentConfig ( PREGISTRY_SERVER_NAME  ServerName,
REGSAM  samDesired,
PRPC_HKEY  phKey 
)

Definition at line 455 of file rpcserver.c.

459 {
460  TRACE("\n");
461  return ERROR_SUCCESS;
462 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ OpenCurrentUser()

error_status_t WINAPI OpenCurrentUser ( PREGISTRY_SERVER_NAME  ServerName,
REGSAM  samDesired,
PRPC_HKEY  phKey 
)

Definition at line 89 of file rpcserver.c.

93 {
94  TRACE("\n");
95  return ERROR_SUCCESS;
96 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ OpenLocalMachine()

error_status_t WINAPI OpenLocalMachine ( PREGISTRY_SERVER_NAME  ServerName,
REGSAM  samDesired,
PRPC_HKEY  phKey 
)

Definition at line 102 of file rpcserver.c.

106 {
107  TRACE("\n");
108  return ERROR_SUCCESS;
109 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ OpenPerformanceData()

error_status_t WINAPI OpenPerformanceData ( PREGISTRY_SERVER_NAME  ServerName,
REGSAM  samDesired,
PRPC_HKEY  phKey 
)

Definition at line 115 of file rpcserver.c.

119 {
120  TRACE("\n");
121  return ERROR_SUCCESS;
122 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ OpenPerformanceNlsText()

error_status_t __stdcall OpenPerformanceNlsText ( PREGISTRY_SERVER_NAME  ServerName,
REGSAM  samDesired,
PRPC_HKEY  phKey 
)

Definition at line 549 of file rpcserver.c.

553 {
554  TRACE("\n");
555  return ERROR_SUCCESS;
556 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ OpenPerformanceText()

error_status_t __stdcall OpenPerformanceText ( PREGISTRY_SERVER_NAME  ServerName,
REGSAM  samDesired,
PRPC_HKEY  phKey 
)

Definition at line 536 of file rpcserver.c.

540 {
541  TRACE("\n");
542  return ERROR_SUCCESS;
543 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ OpenUsers()

error_status_t WINAPI OpenUsers ( PREGISTRY_SERVER_NAME  ServerName,
REGSAM  samDesired,
PRPC_HKEY  phKey 
)

Definition at line 128 of file rpcserver.c.

132 {
133  TRACE("\n");
134  return ERROR_SUCCESS;
135 }
#define ERROR_SUCCESS
Definition: deptool.c:10
#define TRACE(s)
Definition: solgame.cpp:4

◆ Opnum14NotImplemented()

void __stdcall Opnum14NotImplemented ( handle_t  IDL_handle)

Definition at line 267 of file rpcserver.c.

269 {
270  TRACE("\n");
271 }
#define TRACE(s)
Definition: solgame.cpp:4

◆ Opnum28NotImplemented()

void __stdcall Opnum28NotImplemented ( handle_t  IDL_handle)

Definition at line 468 of file rpcserver.c.

470 {
471  TRACE("\n");
472 }
#define TRACE(s)
Definition: solgame.cpp:4

◆ RPC_HKEY_rundown()

void __RPC_USER RPC_HKEY_rundown ( RPC_HKEY  hSCObject)

Definition at line 68 of file rpcserver.c.

69 {
70 }

◆ StartRpcServer()

BOOL StartRpcServer ( VOID  )

Definition at line 19 of file rpcserver.c.

20 {
22 
23  TRACE("StartRpcServer() called\n");
24 
25  Status = RpcServerUseProtseqEpW(L"ncacn_np",
27  L"\\pipe\\winreg",
28  NULL);
29  if (Status != RPC_S_OK)
30  {
31  ERR("RpcServerUseProtseqEpW() failed (Status %lx)\n", Status);
32  return FALSE;
33  }
34 
35  Status = RpcServerRegisterIf(winreg_v1_0_s_ifspec,
36  NULL,
37  NULL);
38  if (Status != RPC_S_OK)
39  {
40  ERR("RpcServerRegisterIf() failed (Status %lx)\n", Status);
41  return FALSE;
42  }
43 
44  Status = RpcServerListen(1, 20, TRUE);
45  if (Status != RPC_S_OK)
46  {
47  ERR("RpcServerListen() failed (Status %lx)\n", Status);
48  return FALSE;
49  }
50 
51  TRACE("StartRpcServer() done\n");
52  return TRUE;
53 }
#define TRUE
Definition: types.h:120
long RPC_STATUS
Definition: rpc.h:52
RPC_STATUS WINAPI RpcServerListen(UINT MinimumCallThreads, UINT MaxCalls, UINT DontWait)
Definition: rpc_server.c:1527
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
RPC_STATUS WINAPI RpcServerRegisterIf(RPC_IF_HANDLE IfSpec, UUID *MgrTypeUuid, RPC_MGR_EPV *MgrEpv)
Definition: rpc_server.c:1123
static const WCHAR L[]
Definition: oid.c:1250
Status
Definition: gdiplustypes.h:24
RPC_STATUS WINAPI RpcServerUseProtseqEpW(RPC_WSTR Protseq, UINT MaxCalls, RPC_WSTR Endpoint, LPVOID SecurityDescriptor)
Definition: rpc_server.c:934
#define ERR(fmt,...)
Definition: debug.h:109
#define RPC_C_PROTSEQ_MAX_REQS_DEFAULT
Definition: rpcdce.h:123
#define RPC_S_OK
Definition: rpcnterr.h:22

Referenced by WinMain().