ReactOS 0.4.15-dev-7924-g5949c20
rpcss_shared.h File Reference
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <rpc.h>
#include <rpcdcep.h>
Include dependency graph for rpcss_shared.h:

Go to the source code of this file.

Classes

struct  _RPCSS_NP_MESSAGE_UNION_VARDATAPAYLOADMSG
 
struct  _RPCSS_NP_MESSAGE_UNION_RANMSG
 
struct  _RPCSS_NP_MESSAGE_UNION_REGISTEREPMSG
 
struct  _RPCSS_NP_MESSAGE_UNION_UNREGISTEREPMSG
 
struct  _RPCSS_NP_MESSAGE_UNION_RESOLVEEPMSG
 
union  RPCSS_NP_MESSAGE_UNION
 
struct  _RPCSS_NP_MESSAGE
 
union  RPCSS_NP_REPLY
 

Macros

#define RPCSS_NP_PROTOCOL_VERSION   0x0000
 
#define RPCSS_STRINGIFY_MACRO(x)   RPCSS_STRINGIFY_MACRO2(x)
 
#define RPCSS_STRINGIFY_MACRO2(x)   #x
 
#define STRINGIFIED_RPCSS_NP_PROTOCOL_VERSION    RPCSS_STRINGIFY_MACRO(RPCSS_NP_PROTOCOL_VERSION)
 
#define NAME_RPCSS_NAMED_PIPE    ("\\\\.\\pipe\\RpcssNP" STRINGIFIED_RPCSS_NP_PROTOCOL_VERSION)
 
#define RPCSS_MASTER_MUTEX_NAME    ("RPCSSMasterMutex" STRINGIFIED_RPCSS_NP_PROTOCOL_VERSION)
 
#define VARDATA_PAYLOAD_BYTES   1024
 
#define MAX_RPCSS_NP_REPLY_STRING_LEN   512
 
#define MASTER_MUTEX_TIMEOUT   6000000
 
#define MASTER_MUTEX_WAITNAMEDPIPE_TIMEOUT   5000
 
#define RPCSS_NP_MESSAGE_TYPEID_VARDATAPAYLOADMSG   1
 
#define RPCSS_NP_MESSAGE_TYPEID_RANMSG   2
 
#define RPCSS_NP_MESSAGE_TYPEID_REGISTEREPMSG   3
 
#define RPCSS_NP_MESSAGE_TYPEID_UNREGISTEREPMSG   4
 
#define RPCSS_NP_MESSAGE_TYPEID_RESOLVEEPMSG   5
 

Typedefs

typedef struct _RPCSS_NP_MESSAGE_UNION_VARDATAPAYLOADMSG RPCSS_NP_MESSAGE_UNION_VARDATAPAYLOADMSG
 
typedef struct _RPCSS_NP_MESSAGE_UNION_RANMSG RPCSS_NP_MESSAGE_UNION_RANMSG
 
typedef struct _RPCSS_NP_MESSAGE_UNION_REGISTEREPMSG RPCSS_NP_MESSAGE_UNION_REGISTEREPMSG
 
typedef struct _RPCSS_NP_MESSAGE_UNION_UNREGISTEREPMSG RPCSS_NP_MESSAGE_UNION_UNREGISTEREPMSG
 
typedef struct _RPCSS_NP_MESSAGE_UNION_RESOLVEEPMSG RPCSS_NP_MESSAGE_UNION_RESOLVEEPMSG
 
typedef struct _RPCSS_NP_MESSAGE RPCSS_NP_MESSAGE
 
typedef struct _RPCSS_NP_MESSAGEPRPCSS_NP_MESSAGE
 
typedef union RPCSS_NP_REPLYPRPCSS_NP_REPLY
 

Macro Definition Documentation

◆ MASTER_MUTEX_TIMEOUT

#define MASTER_MUTEX_TIMEOUT   6000000

Definition at line 55 of file rpcss_shared.h.

◆ MASTER_MUTEX_WAITNAMEDPIPE_TIMEOUT

#define MASTER_MUTEX_WAITNAMEDPIPE_TIMEOUT   5000

Definition at line 58 of file rpcss_shared.h.

◆ MAX_RPCSS_NP_REPLY_STRING_LEN

#define MAX_RPCSS_NP_REPLY_STRING_LEN   512

Definition at line 52 of file rpcss_shared.h.

◆ NAME_RPCSS_NAMED_PIPE

#define NAME_RPCSS_NAMED_PIPE    ("\\\\.\\pipe\\RpcssNP" STRINGIFIED_RPCSS_NP_PROTOCOL_VERSION)

Definition at line 40 of file rpcss_shared.h.

◆ RPCSS_MASTER_MUTEX_NAME

#define RPCSS_MASTER_MUTEX_NAME    ("RPCSSMasterMutex" STRINGIFIED_RPCSS_NP_PROTOCOL_VERSION)

Definition at line 45 of file rpcss_shared.h.

◆ RPCSS_NP_MESSAGE_TYPEID_RANMSG

#define RPCSS_NP_MESSAGE_TYPEID_RANMSG   2

Definition at line 71 of file rpcss_shared.h.

◆ RPCSS_NP_MESSAGE_TYPEID_REGISTEREPMSG

#define RPCSS_NP_MESSAGE_TYPEID_REGISTEREPMSG   3

Definition at line 82 of file rpcss_shared.h.

◆ RPCSS_NP_MESSAGE_TYPEID_RESOLVEEPMSG

#define RPCSS_NP_MESSAGE_TYPEID_RESOLVEEPMSG   5

Definition at line 112 of file rpcss_shared.h.

◆ RPCSS_NP_MESSAGE_TYPEID_UNREGISTEREPMSG

#define RPCSS_NP_MESSAGE_TYPEID_UNREGISTEREPMSG   4

Definition at line 96 of file rpcss_shared.h.

◆ RPCSS_NP_MESSAGE_TYPEID_VARDATAPAYLOADMSG

#define RPCSS_NP_MESSAGE_TYPEID_VARDATAPAYLOADMSG   1

Definition at line 61 of file rpcss_shared.h.

◆ RPCSS_NP_PROTOCOL_VERSION

#define RPCSS_NP_PROTOCOL_VERSION   0x0000

Definition at line 30 of file rpcss_shared.h.

◆ RPCSS_STRINGIFY_MACRO

#define RPCSS_STRINGIFY_MACRO (   x)    RPCSS_STRINGIFY_MACRO2(x)

Definition at line 32 of file rpcss_shared.h.

◆ RPCSS_STRINGIFY_MACRO2

#define RPCSS_STRINGIFY_MACRO2 (   x)    #x

Definition at line 33 of file rpcss_shared.h.

◆ STRINGIFIED_RPCSS_NP_PROTOCOL_VERSION

#define STRINGIFIED_RPCSS_NP_PROTOCOL_VERSION    RPCSS_STRINGIFY_MACRO(RPCSS_NP_PROTOCOL_VERSION)

Definition at line 35 of file rpcss_shared.h.

◆ VARDATA_PAYLOAD_BYTES

#define VARDATA_PAYLOAD_BYTES   1024

Definition at line 49 of file rpcss_shared.h.

Typedef Documentation

◆ PRPCSS_NP_MESSAGE

◆ PRPCSS_NP_REPLY

◆ RPCSS_NP_MESSAGE

◆ RPCSS_NP_MESSAGE_UNION_RANMSG

◆ RPCSS_NP_MESSAGE_UNION_REGISTEREPMSG

◆ RPCSS_NP_MESSAGE_UNION_RESOLVEEPMSG

◆ RPCSS_NP_MESSAGE_UNION_UNREGISTEREPMSG

◆ RPCSS_NP_MESSAGE_UNION_VARDATAPAYLOADMSG