Commit 3433839b authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

include: Add types and definitions for RPC user callback routines.

parent b7047df8
...@@ -254,6 +254,37 @@ typedef struct _USER_MARSHAL_ROUTINE_QUADRUPLE ...@@ -254,6 +254,37 @@ typedef struct _USER_MARSHAL_ROUTINE_QUADRUPLE
USER_MARSHAL_FREEING_ROUTINE pfnFree; USER_MARSHAL_FREEING_ROUTINE pfnFree;
} USER_MARSHAL_ROUTINE_QUADRUPLE; } USER_MARSHAL_ROUTINE_QUADRUPLE;
/* 'USRC' */
#define USER_MARSHAL_CB_SIGNATURE \
( (DWORD)'U' | ( (DWORD)'S' << 8 ) | \
( (DWORD)'R' << 16 ) | ( (DWORD)'C' << 24 ) )
typedef enum
{
USER_MARSHAL_CB_BUFFER_SIZE,
USER_MARSHAL_CB_MARSHALL,
USER_MARSHAL_CB_UNMARSHALL,
USER_MARSHAL_CB_FREE
} USER_MARSHAL_CB_TYPE;
typedef struct _USER_MARSHAL_CB
{
unsigned long Flags;
PMIDL_STUB_MESSAGE pStubMsg;
PFORMAT_STRING pReserve;
unsigned long Signature;
USER_MARSHAL_CB_TYPE CBType;
PFORMAT_STRING pFormat;
PFORMAT_STRING pTypeFormat;
} USER_MARSHAL_CB;
#define USER_CALL_CTXT_MASK(f) ((f) & 0x00ff)
#define USER_CALL_AUX_MASK(f) ((f) & 0xff00)
#define GET_USER_DATA_REP(f) HIWORD(f)
#define USER_CALL_IS_ASYNC 0x0100
#define USER_CALL_NEW_CORRELATION_DESC 0x0200
typedef struct _MALLOC_FREE_STRUCT typedef struct _MALLOC_FREE_STRUCT
{ {
void * (__RPC_USER *pfnAllocate)(size_t); void * (__RPC_USER *pfnAllocate)(size_t);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment