Commit 52911fc6 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

include: Update the MIDL_STUB_MESSAGE structure.

Reduce the size of the IsClient field, as is done in the latest SDKs to fix NdrClientInitializeNew tests on XP SP3 and Win2003+.
parent a6fa6a4a
......@@ -407,7 +407,6 @@ static void test_pack_MIDL_STUB_MESSAGE(void)
TEST_FIELD(MIDL_STUB_MESSAGE, ULONG, BufferLength, 20, 4, 4);
TEST_FIELD(MIDL_STUB_MESSAGE, ULONG, MemorySize, 24, 4, 4);
TEST_FIELD(MIDL_STUB_MESSAGE, unsigned char *, Memory, 28, 4, 4);
TEST_FIELD(MIDL_STUB_MESSAGE, int, IsClient, 32, 4, 4);
TEST_FIELD(MIDL_STUB_MESSAGE, int, ReuseBuffer, 36, 4, 4);
TEST_FIELD(MIDL_STUB_MESSAGE, struct NDR_ALLOC_ALL_NODES_CONTEXT *, pAllocAllNodesContext, 40, 4, 4);
TEST_FIELD(MIDL_STUB_MESSAGE, struct NDR_POINTER_QUEUE_STATE *, pPointerQueueState, 44, 4, 4);
......
......@@ -175,7 +175,9 @@ typedef struct _MIDL_STUB_MESSAGE
ULONG BufferLength;
ULONG MemorySize;
unsigned char *Memory;
int IsClient;
unsigned char IsClient;
unsigned char Pad;
unsigned short uFlags2;
int ReuseBuffer;
struct NDR_ALLOC_ALL_NODES_CONTEXT *pAllocAllNodesContext;
struct NDR_POINTER_QUEUE_STATE *pPointerQueueState;
......
......@@ -950,7 +950,7 @@ MALLOC_FREE_STRUCT
MIDL_FORMAT_STRING
MIDL_SERVER_INFO
MIDL_STUB_DESC
MIDL_STUB_MESSAGE: !UniquePtrCount
MIDL_STUB_MESSAGE: !UniquePtrCount !IsClient !Pad !uFlags2
MIDL_STUBLESS_PROXY_INFO
MIDL_SYNTAX_INFO
NDR_CCONTEXT
......
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