diff --git a/include/rpcdcep.h b/include/rpcdcep.h index d3c2e096ce5..f2a21964850 100644 --- a/include/rpcdcep.h +++ b/include/rpcdcep.h @@ -48,12 +48,21 @@ typedef struct _RPC_MESSAGE unsigned long RpcFlags; } RPC_MESSAGE, *PRPC_MESSAGE; +#define RPC_CONTEXT_HANDLE_DEFAULT_GUARD ((void *)0xfffff00d) + +#define RPC_CONTEXT_HANDLE_DEFAULT_FLAGS 0x00000000 +#define RPC_CONTEXT_HANDLE_FLAGS 0x30000000 +#define RPC_CONTEXT_HANDLE_SERIALIZE 0x10000000 +#define RPC_CONTEXT_HANDLE_DONT_SERIALIZE 0x20000000 +#define RPC_TYPE_STRICT_CONTEXT_HANDLE 0x40000000 + #define RPC_NCA_FLAGS_DEFAULT 0x00000000 #define RPC_NCA_FLAGS_IDEMPOTENT 0x00000001 #define RPC_NCA_FLAGS_BROADCAST 0x00000002 #define RPC_NCA_FLAGS_MAYBE 0x00000004 typedef void (__RPC_STUB *RPC_DISPATCH_FUNCTION)(PRPC_MESSAGE Message); +typedef RPC_STATUS (RPC_ENTRY *RPC_FORWARD_FUNCTION)(UUID *InterfaceId, RPC_VERSION *InterfaceVersion, UUID *ObjectId, unsigned char *Rpcpro, void **ppDestEndpoint); typedef struct {