Commit f6673f3a authored by Greg Turner's avatar Greg Turner Committed by Alexandre Julliard

Some MIDL constants and structures (should eventually move to rpcndr.h

I think). Stubs for NdrClientInitializeNew, NdrConformantStringMarshall, NdrGetBuffer, NdrFreeBuffer, and NdrSendReceive (not in specfile yet).
parent f3215eba
......@@ -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");
}
......@@ -23,6 +23,22 @@
#include <stdarg.h>
#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,
......
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