diff --git a/dlls/rpcrt4/ndr_midl.c b/dlls/rpcrt4/ndr_midl.c index aca9510fd69..2acf80c1aeb 100644 --- a/dlls/rpcrt4/ndr_midl.c +++ b/dlls/rpcrt4/ndr_midl.c @@ -167,3 +167,44 @@ void WINAPI NdrStubGetBuffer(LPRPCSTUBBUFFER This, pStubMsg->BufferEnd = pStubMsg->BufferStart + pStubMsg->BufferLength; pStubMsg->Buffer = pStubMsg->BufferStart; } + +/************************************************************************ + * NdrClientInitializeNew [RPCRT4.@] + */ +void WINAPI NdrClientInitializeNew( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg, + PMIDL_STUB_DESC pStubDesc, int unknown ) +{ + TRACE("stub\n"); +} + +/*********************************************************************** + * NdrConformantStringMarshall [RPCRT4.@] + */ +void WINAPI NdrConformantStringMarshall(MIDL_STUB_MESSAGE *pStubMsg, unsigned char *pszMessage, + PFORMAT_STRING pFormat) +{ + TRACE("stub\n"); +} + +/*********************************************************************** + * NdrGetBuffer [RPCRT4.@] + */ +void WINAPI NdrGetBuffer(MIDL_STUB_MESSAGE *stubmsg, unsigned long buflen, RPC_BINDING_HANDLE handle) +{ + TRACE("stub\n"); +} +/*********************************************************************** + * NdrFreeBuffer [RPCRT4.@] + */ +void WINAPI NdrFreeBuffer(MIDL_STUB_MESSAGE *pStubMsg) +{ + TRACE("stub\n"); +} + +/************************************************************************ + * NdrSendReceive [RPCRT4.@] + */ +void WINAPI NdrSendReceive( MIDL_STUB_MESSAGE *stubmsg, unsigned char *buffer ) +{ + TRACE("stub\n"); +} diff --git a/dlls/rpcrt4/ndr_misc.h b/dlls/rpcrt4/ndr_misc.h index b254d0957b0..966df7bda14 100644 --- a/dlls/rpcrt4/ndr_misc.h +++ b/dlls/rpcrt4/ndr_misc.h @@ -23,6 +23,22 @@ #include +#define FORMAT_STRING_PARANOIA 20 +#define TYPE_FORMAT_STRING_SIZE (5 + FORMAT_STRING_PARANOIA) +#define PROC_FORMAT_STRING_SIZE (9 + FORMAT_STRING_PARANOIA) + +typedef struct _MIDL_TYPE_FORMAT_STRING +{ + short Pad; + unsigned char Format[TYPE_FORMAT_STRING_SIZE]; +} MIDL_TYPE_FORMAT_STRING; + +typedef struct _MIDL_PROC_FORMAT_STRING +{ + short Pad; + unsigned char Format[PROC_FORMAT_STRING_SIZE]; +} MIDL_PROC_FORMAT_STRING; + struct IPSFactoryBuffer; LONG_PTR RPCRT4_NdrClientCall2(PMIDL_STUB_DESC pStubDesc,