ReactOS 0.4.16-dev-297-gc569aee
precomp.h File Reference
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winsvc.h>
#include <wingdi.h>
#include <winspool.h>
#include <winsplp.h>
#include <winspool_s.h>
#include <ndk/rtlfuncs.h>
#include <spoolss.h>
#include <marshalling/marshalling.h>
#include <wine/debug.h>
Include dependency graph for precomp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (spoolsv)
 
DWORD WINAPI LrpcThreadProc (LPVOID lpParameter)
 

Macro Definition Documentation

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 11 of file precomp.h.

Function Documentation

◆ LrpcThreadProc()

DWORD WINAPI LrpcThreadProc ( LPVOID  lpParameter)

Definition at line 11 of file rpcserver.c.

12{
14
15 Status = RpcServerUseProtseqEpW(L"ncalrpc", 20, L"spoolss", NULL);
16 if (Status != RPC_S_OK)
17 {
18 ERR("RpcServerUseProtseqEpW failed with status %ld!\n", Status);
19 return 0;
20 }
21
22 Status = RpcServerRegisterIf(winspool_v1_0_s_ifspec, NULL, NULL);
23 if (Status != RPC_S_OK)
24 {
25 ERR("RpcServerRegisterIf failed with status %ld!\n", Status);
26 return 0;
27 }
28
30 if (Status != RPC_S_OK)
31 {
32 ERR("RpcServerListen() failed with status %ld!\n", Status);
33 }
34
35 return 0;
36}
#define ERR(fmt,...)
Definition: precomp.h:57
#define NULL
Definition: types.h:112
Status
Definition: gdiplustypes.h:25
#define L(x)
Definition: ntvdm.h:50
RPC_STATUS WINAPI RpcServerListen(UINT MinimumCallThreads, UINT MaxCalls, UINT DontWait)
Definition: rpc_server.c:1520
RPC_STATUS WINAPI RpcServerRegisterIf(RPC_IF_HANDLE IfSpec, UUID *MgrTypeUuid, RPC_MGR_EPV *MgrEpv)
Definition: rpc_server.c:1116
RPC_STATUS WINAPI RpcServerUseProtseqEpW(RPC_WSTR Protseq, UINT MaxCalls, RPC_WSTR Endpoint, LPVOID SecurityDescriptor)
Definition: rpc_server.c:927
#define RPC_C_LISTEN_MAX_CALLS_DEFAULT
Definition: rpcdce.h:122
#define RPC_S_OK
Definition: rpcnterr.h:22
long RPC_STATUS
Definition: rpc.h:52

Referenced by _ServiceMain().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( spoolsv  )