summaryrefslogtreecommitdiff
path: root/testprogs/win32/midltests/midltests_marshall.c
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs/win32/midltests/midltests_marshall.c')
-rw-r--r--testprogs/win32/midltests/midltests_marshall.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/testprogs/win32/midltests/midltests_marshall.c b/testprogs/win32/midltests/midltests_marshall.c
index e772afd03d..f0fc78a71d 100644
--- a/testprogs/win32/midltests/midltests_marshall.c
+++ b/testprogs/win32/midltests/midltests_marshall.c
@@ -30,7 +30,7 @@ static void print_asc(const unsigned char *buf,int len)
printf("%c", isprint(buf[i])?buf[i]:'.');
}
-static void dump_data(const unsigned char *buf1,int len)
+void dump_data(const unsigned char *buf1,int len)
{
const unsigned char *buf = (const unsigned char *)buf1;
int i=0;
@@ -61,6 +61,8 @@ static void dump_data(const unsigned char *buf1,int len)
}
}
+#if _WIN32_WINNT < 0x600
+
void NdrGetBufferMarshall(PMIDL_STUB_MESSAGE stubmsg, unsigned long len, RPC_BINDING_HANDLE hnd)
{
stubmsg->RpcMsg->Buffer = HeapAlloc(GetProcessHeap(), 0, len);
@@ -119,3 +121,5 @@ RPC_STATUS WINAPI I_RpcGetBufferMarshall(PRPC_MESSAGE RpcMsg)
memset(RpcMsg->Buffer, 0xcd, RpcMsg->BufferLength);
return 0;
}
+
+#endif /* _WIN32_WINNT < 0x600 */