summaryrefslogtreecommitdiff
path: root/testprogs/win32/midltests/midltests_marshall.h
blob: 8bb59b9a00c6510af36c56f8e9719d20f41279d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "rpc.h"
#include "rpcndr.h"

void dump_data(const unsigned char *buf1,int len);

#if _WIN32_WINNT < 0x600
#define NdrSendReceive NdrSendReceiveMarshall
void NdrSendReceiveMarshall(PMIDL_STUB_MESSAGE stubmsg, unsigned char *buffer);
#define NdrGetBuffer NdrGetBufferMarshall
void NdrGetBufferMarshall(PMIDL_STUB_MESSAGE stubmsg, unsigned long len, RPC_BINDING_HANDLE hnd);
#define NdrServerInitializeNew NdrServerInitializeNewMarshall
void NdrServerInitializeNewMarshall(PRPC_MESSAGE pRpcMsg,
				    PMIDL_STUB_MESSAGE pStubMsg,
				    PMIDL_STUB_DESC pStubDesc);
#define I_RpcGetBuffer I_RpcGetBufferMarshall
RPC_STATUS WINAPI I_RpcGetBufferMarshall(PRPC_MESSAGE pMsg);

#endif /* _WIN32_WINNT < 0x600 */