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).
This commit is contained in:
parent
f3215eba4a
commit
f6673f3a95
|
@ -167,3 +167,44 @@ void WINAPI NdrStubGetBuffer(LPRPCSTUBBUFFER This,
|
||||||
pStubMsg->BufferEnd = pStubMsg->BufferStart + pStubMsg->BufferLength;
|
pStubMsg->BufferEnd = pStubMsg->BufferStart + pStubMsg->BufferLength;
|
||||||
pStubMsg->Buffer = pStubMsg->BufferStart;
|
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>
|
#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;
|
struct IPSFactoryBuffer;
|
||||||
|
|
||||||
LONG_PTR RPCRT4_NdrClientCall2(PMIDL_STUB_DESC pStubDesc,
|
LONG_PTR RPCRT4_NdrClientCall2(PMIDL_STUB_DESC pStubDesc,
|
||||||
|
|
Loading…
Reference in New Issue