ReactOS  0.4.15-dev-3324-gda4e15f
rpcserver.c File Reference
#include "precomp.h"
Include dependency graph for rpcserver.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (browser)
 
DWORD WINAPI RpcThreadRoutine (LPVOID lpParameter)
 
void __RPC_FAR *__RPC_USER midl_user_allocate (SIZE_T len)
 
void __RPC_USER midl_user_free (void __RPC_FAR *ptr)
 
NET_API_STATUS __stdcall I_BrowserrServerEnum (BROWSER_IDENTIFY_HANDLE ServerName, LPWSTR Transport, LPWSTR ClientName, LPSERVER_ENUM_STRUCT EnumStruct, DWORD PreferedMaximumLength, LPDWORD TotalEntries, DWORD ServerType, LPWSTR Domain, LPDWORD ResumeHandle)
 
NET_API_STATUS __stdcall BrowserOpnum1NotUsedOnWire (VOID)
 
NET_API_STATUS __stdcall I_BrowserrQueryOtherDomains (BROWSER_IDENTIFY_HANDLE ServerName, LPSERVER_ENUM_STRUCT EnumStruct, LPDWORD TotalEntries)
 
NET_API_STATUS __stdcall I_BrowserrResetNetlogonState (BROWSER_IDENTIFY_HANDLE ServerName)
 
NET_API_STATUS __stdcall I_BrowserrDebugTrace (BROWSER_IDENTIFY_HANDLE ServerName, LPSTR String)
 
NET_API_STATUS __stdcall I_BrowserrQueryStatistics (BROWSER_IDENTIFY_HANDLE ServerName, LPBROWSER_STATISTICS *Statistics)
 
NET_API_STATUS __stdcall I_BrowserrResetStatistics (BROWSER_IDENTIFY_HANDLE ServerName)
 
NET_API_STATUS __stdcall NetrBrowserStatisticsClear (BROWSER_IDENTIFY_HANDLE ServerName)
 
NET_API_STATUS __stdcall NetrBrowserStatisticsGet (BROWSER_IDENTIFY_HANDLE ServerName, DWORD Level, LPBROWSER_STATISTICS_STRUCT StatisticsStruct)
 
NET_API_STATUS __stdcall I_BrowserrSetNetlogonState (BROWSER_IDENTIFY_HANDLE ServerName, LPWSTR DomainName, LPWSTR EmulatedComputerName, DWORD Role)
 
NET_API_STATUS __stdcall I_BrowserrQueryEmulatedDomains (BROWSER_IDENTIFY_HANDLE ServerName, PBROWSER_EMULATED_DOMAIN_CONTAINER EmulatedDomains)
 
NET_API_STATUS __stdcall BrowserOpnum11NotUsedOnWire (void)
 

Function Documentation

◆ BrowserOpnum11NotUsedOnWire()

NET_API_STATUS __stdcall BrowserOpnum11NotUsedOnWire ( void  )

Definition at line 202 of file rpcserver.c.

203 {
205  return 0;
206 }
#define UNIMPLEMENTED
Definition: debug.h:115

Referenced by implicit_handle().

◆ BrowserOpnum1NotUsedOnWire()

NET_API_STATUS __stdcall BrowserOpnum1NotUsedOnWire ( VOID  )

Definition at line 83 of file rpcserver.c.

84 {
86  return 0;
87 }
#define UNIMPLEMENTED
Definition: debug.h:115

Referenced by implicit_handle().

◆ I_BrowserrDebugTrace()

NET_API_STATUS __stdcall I_BrowserrDebugTrace ( BROWSER_IDENTIFY_HANDLE  ServerName,
LPSTR  String 
)

Definition at line 117 of file rpcserver.c.

120 {
122  return 0;
123 }
#define UNIMPLEMENTED
Definition: debug.h:115

Referenced by I_BrowserDebugTrace(), and implicit_handle().

◆ I_BrowserrQueryEmulatedDomains()

NET_API_STATUS __stdcall I_BrowserrQueryEmulatedDomains ( BROWSER_IDENTIFY_HANDLE  ServerName,
PBROWSER_EMULATED_DOMAIN_CONTAINER  EmulatedDomains 
)

Definition at line 190 of file rpcserver.c.

193 {
195  return 0;
196 }
#define UNIMPLEMENTED
Definition: debug.h:115

Referenced by I_BrowserQueryEmulatedDomains(), and implicit_handle().

◆ I_BrowserrQueryOtherDomains()

NET_API_STATUS __stdcall I_BrowserrQueryOtherDomains ( BROWSER_IDENTIFY_HANDLE  ServerName,
LPSERVER_ENUM_STRUCT  EnumStruct,
LPDWORD  TotalEntries 
)

Definition at line 93 of file rpcserver.c.

97 {
99  return 0;
100 }
#define UNIMPLEMENTED
Definition: debug.h:115

Referenced by I_BrowserQueryOtherDomains(), and implicit_handle().

◆ I_BrowserrQueryStatistics()

NET_API_STATUS __stdcall I_BrowserrQueryStatistics ( BROWSER_IDENTIFY_HANDLE  ServerName,
LPBROWSER_STATISTICS Statistics 
)

Definition at line 129 of file rpcserver.c.

132 {
134  return 0;
135 }
#define UNIMPLEMENTED
Definition: debug.h:115

Referenced by I_BrowserQueryStatistics(), and implicit_handle().

◆ I_BrowserrResetNetlogonState()

NET_API_STATUS __stdcall I_BrowserrResetNetlogonState ( BROWSER_IDENTIFY_HANDLE  ServerName)

Definition at line 106 of file rpcserver.c.

108 {
110  return 0;
111 }
#define UNIMPLEMENTED
Definition: debug.h:115

Referenced by I_BrowserResetNetlogonState(), and implicit_handle().

◆ I_BrowserrResetStatistics()

NET_API_STATUS __stdcall I_BrowserrResetStatistics ( BROWSER_IDENTIFY_HANDLE  ServerName)

Definition at line 141 of file rpcserver.c.

143 {
145  return 0;
146 }
#define UNIMPLEMENTED
Definition: debug.h:115

Referenced by I_BrowserResetStatistics(), and implicit_handle().

◆ I_BrowserrServerEnum()

NET_API_STATUS __stdcall I_BrowserrServerEnum ( BROWSER_IDENTIFY_HANDLE  ServerName,
LPWSTR  Transport,
LPWSTR  ClientName,
LPSERVER_ENUM_STRUCT  EnumStruct,
DWORD  PreferedMaximumLength,
LPDWORD  TotalEntries,
DWORD  ServerType,
LPWSTR  Domain,
LPDWORD  ResumeHandle 
)

Definition at line 64 of file rpcserver.c.

74 {
76  return 0;
77 }
#define UNIMPLEMENTED
Definition: debug.h:115

Referenced by I_BrowserServerEnum(), and implicit_handle().

◆ I_BrowserrSetNetlogonState()

NET_API_STATUS __stdcall I_BrowserrSetNetlogonState ( BROWSER_IDENTIFY_HANDLE  ServerName,
LPWSTR  DomainName,
LPWSTR  EmulatedComputerName,
DWORD  Role 
)

Definition at line 176 of file rpcserver.c.

181 {
183  return 0;
184 }
#define UNIMPLEMENTED
Definition: debug.h:115

Referenced by I_BrowserSetNetlogonState(), and implicit_handle().

◆ midl_user_allocate()

void __RPC_FAR* __RPC_USER midl_user_allocate ( SIZE_T  len)

Definition at line 49 of file rpcserver.c.

50 {
52 }
#define GetProcessHeap()
Definition: compat.h:595
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
GLenum GLsizei len
Definition: glext.h:6722
#define HEAP_ZERO_MEMORY
Definition: compat.h:134

Referenced by NetrJobEnum(), NetrJobGetInfo(), NetrRemoteTOD(), NetrServerGetInfo(), NetrServerStatisticsGet(), NetrWkstaGetInfo(), and NetrWorkstationStatisticsGet().

◆ midl_user_free()

void __RPC_USER midl_user_free ( void __RPC_FAR ptr)

Definition at line 55 of file rpcserver.c.

56 {
58 }
static PVOID ptr
Definition: dispmode.c:27
#define GetProcessHeap()
Definition: compat.h:595
#define HeapFree(x, y, z)
Definition: compat.h:594

Referenced by NetrJobGetInfo().

◆ NetrBrowserStatisticsClear()

NET_API_STATUS __stdcall NetrBrowserStatisticsClear ( BROWSER_IDENTIFY_HANDLE  ServerName)

Definition at line 152 of file rpcserver.c.

154 {
156  return 0;
157 }
#define UNIMPLEMENTED
Definition: debug.h:115

Referenced by implicit_handle().

◆ NetrBrowserStatisticsGet()

NET_API_STATUS __stdcall NetrBrowserStatisticsGet ( BROWSER_IDENTIFY_HANDLE  ServerName,
DWORD  Level,
LPBROWSER_STATISTICS_STRUCT  StatisticsStruct 
)

Definition at line 163 of file rpcserver.c.

167 {
169  return 0;
170 }
#define UNIMPLEMENTED
Definition: debug.h:115

Referenced by implicit_handle(), and NetBrowserStatisticsGet().

◆ RpcThreadRoutine()

DWORD WINAPI RpcThreadRoutine ( LPVOID  lpParameter)

Definition at line 20 of file rpcserver.c.

22 {
24 
25  Status = RpcServerUseProtseqEpW(L"ncacn_np", 20, L"\\pipe\\browser", NULL);
26  if (Status != RPC_S_OK)
27  {
28  ERR("RpcServerUseProtseqEpW() failed (Status %lx)\n", Status);
29  return 0;
30  }
31 
32  Status = RpcServerRegisterIf(browser_v0_0_s_ifspec, NULL, NULL);
33  if (Status != RPC_S_OK)
34  {
35  ERR("RpcServerRegisterIf() failed (Status %lx)\n", Status);
36  return 0;
37  }
38 
40  if (Status != RPC_S_OK)
41  {
42  ERR("RpcServerListen() failed (Status %lx)\n", Status);
43  }
44 
45  return 0;
46 }
long RPC_STATUS
Definition: rpc.h:52
#define FALSE
Definition: types.h:117
RPC_STATUS WINAPI RpcServerListen(UINT MinimumCallThreads, UINT MaxCalls, UINT DontWait)
Definition: rpc_server.c:1520
#define RPC_C_LISTEN_MAX_CALLS_DEFAULT
Definition: rpcdce.h:122
Status
Definition: gdiplustypes.h:24
RPC_STATUS WINAPI RpcServerRegisterIf(RPC_IF_HANDLE IfSpec, UUID *MgrTypeUuid, RPC_MGR_EPV *MgrEpv)
Definition: rpc_server.c:1116
static const WCHAR L[]
Definition: oid.c:1250
RPC_STATUS WINAPI RpcServerUseProtseqEpW(RPC_WSTR Protseq, UINT MaxCalls, RPC_WSTR Endpoint, LPVOID SecurityDescriptor)
Definition: rpc_server.c:927
#define ERR(fmt,...)
Definition: debug.h:110
#define NULL
Definition: types.h:112
#define RPC_S_OK
Definition: rpcnterr.h:22

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( browser  )