19#ifndef __WINE_RPCDCEP_H
20#define __WINE_RPCDCEP_H
52#define RPC_FLAGS_VALID_BIT 0x00008000
54#define RPC_CONTEXT_HANDLE_DEFAULT_GUARD ((void *)0xfffff00d)
56#define RPC_CONTEXT_HANDLE_DEFAULT_FLAGS 0x00000000
57#define RPC_CONTEXT_HANDLE_FLAGS 0x30000000
58#define RPC_CONTEXT_HANDLE_SERIALIZE 0x10000000
59#define RPC_CONTEXT_HANDLE_DONT_SERIALIZE 0x20000000
60#define RPC_TYPE_STRICT_CONTEXT_HANDLE 0x40000000
62#define RPC_NCA_FLAGS_DEFAULT 0x00000000
63#define RPC_NCA_FLAGS_IDEMPOTENT 0x00000001
64#define RPC_NCA_FLAGS_BROADCAST 0x00000002
65#define RPC_NCA_FLAGS_MAYBE 0x00000004
67#define RPC_BUFFER_COMPLETE 0x00001000
68#define RPC_BUFFER_PARTIAL 0x00002000
69#define RPC_BUFFER_EXTRA 0x00004000
70#define RPC_BUFFER_ASYNC 0x00008000
71#define RPC_BUFFER_NONOTIFY 0x00010000
73#define RPCFLG_MESSAGE 0x01000000
74#define RPCFLG_HAS_MULTI_SYNTAXES 0x02000000
75#define RPCFLG_HAS_CALLBACK 0x04000000
76#define RPCFLG_AUTO_COMPLETE 0x08000000
77#define RPCFLG_LOCAL_CALL 0x10000000
78#define RPCFLG_INPUT_SYNCHRONOUS 0x20000000
79#define RPCFLG_ASYNCHRONOUS 0x40000000
80#define RPCFLG_NON_NDR 0x80000000
98#define NT351_INTERFACE_SIZE 0x40
99#define RPC_INTERFACE_HAS_PIPES 0x0001
127#define RPC_C_OPT_COOKIE_AUTH 7
135#define TRANSPORT_TYPE_CN 0x01
136#define TRANSPORT_TYPE_DG 0x02
137#define TRANSPORT_TYPE_LPC 0x04
138#define TRANSPORT_TYPE_WMSG 0x08
184 I_GetThreadWindowHandle(
HWND*
hWnd );
197 I_RpcSetWMsgEndpoint(
WCHAR* Endpoint );
216 I_RpcSetThreadParams(
int fClientFree,
void*
Context,
void* hWndClient );
static const WCHAR Message[]
RPC_STATUS WINAPI I_RpcBindingSetAsync(RPC_BINDING_HANDLE Binding, RPC_BLOCKING_FN BlockingFn)
RPC_STATUS WINAPI I_RpcServerStopListening(void)
UINT WINAPI I_RpcWindowProc(void *hWnd, UINT Message, UINT wParam, ULONG lParam)
RPC_STATUS WINAPI I_RpcServerStartListening(HWND hWnd)
struct _RPC_SERVER_INTERFACE * PRPC_SERVER_INTERFACE
RPCRTAPI void *RPC_ENTRY I_RpcAllocate(unsigned int Size)
void(__RPC_STUB * RPC_DISPATCH_FUNCTION)(PRPC_MESSAGE Message)
RPC_STATUS(RPC_ENTRY * RPC_FORWARD_FUNCTION)(UUID *InterfaceId, RPC_VERSION *InterfaceVersion, UUID *ObjectId, unsigned char *Rpcpro, void **ppDestEndpoint)
struct _RPC_C_OPT_COOKIE_AUTH_DESCRIPTOR RPC_C_OPT_COOKIE_AUTH_DESCRIPTOR
RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcFreeBuffer(RPC_MESSAGE *Message)
struct _RPC_VERSION RPC_VERSION
RPCRTAPI RPC_BINDING_HANDLE RPC_ENTRY I_RpcGetCurrentCallHandle(void)
RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcSendReceive(RPC_MESSAGE *Message)
struct RPC_DISPATCH_TABLE * PRPC_DISPATCH_TABLE
struct _RPC_SYNTAX_IDENTIFIER * PRPC_SYNTAX_IDENTIFIER
struct _RPC_CLIENT_INTERFACE RPC_CLIENT_INTERFACE
RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcGetBuffer(RPC_MESSAGE *Message)
struct _RPC_CLIENT_INTERFACE * PRPC_CLIENT_INTERFACE
struct _RPC_MESSAGE * PRPC_MESSAGE
struct _RPC_MESSAGE RPC_MESSAGE
RPCRTAPI LONG RPC_ENTRY I_RpcMapWin32Status(RPC_STATUS)
RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcReceive(RPC_MESSAGE *Message)
RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcNegotiateTransferSyntax(RPC_MESSAGE *Message)
RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcGetBufferWithObject(RPC_MESSAGE *Message, UUID *ObjectUuid)
RPCRTAPI void RPC_ENTRY I_RpcFree(void *Object)
RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcBindingInqTransportType(RPC_BINDING_HANDLE Binding, unsigned int *Type)
RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcSend(RPC_MESSAGE *Message)
struct _RPC_PROTSEQ_ENDPOINT RPC_PROTSEQ_ENDPOINT
struct _RPC_PROTSEQ_ENDPOINT * PRPC_PROTSEQ_ENDPOINT
struct _RPC_SERVER_INTERFACE RPC_SERVER_INTERFACE
struct _RPC_SYNTAX_IDENTIFIER RPC_SYNTAX_IDENTIFIER
unsigned int DispatchTableCount
RPC_DISPATCH_FUNCTION * DispatchTable
unsigned int RpcProtseqEndpointCount
RPC_SYNTAX_IDENTIFIER InterfaceId
RPC_SYNTAX_IDENTIFIER TransferSyntax
PRPC_PROTSEQ_ENDPOINT RpcProtseqEndpoint
PRPC_DISPATCH_TABLE DispatchTable
void const * InterpreterInfo
unsigned int BufferLength
PRPC_SYNTAX_IDENTIFIER TransferSyntax
void * RpcInterfaceInformation
void * ReservedForRuntime
RPC_BINDING_HANDLE Handle
unsigned char * RpcProtocolSequence
unsigned int RpcProtseqEndpointCount
RPC_SYNTAX_IDENTIFIER InterfaceId
RPC_MGR_EPV * DefaultManagerEpv
PRPC_PROTSEQ_ENDPOINT RpcProtseqEndpoint
RPC_SYNTAX_IDENTIFIER TransferSyntax
PRPC_DISPATCH_TABLE DispatchTable
void const * InterpreterInfo
RPC_VERSION SyntaxVersion
unsigned short MajorVersion
unsigned short MinorVersion
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size