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+.
oldstable
Rob Shearman 2008-06-19 07:50:51 +01:00 committed by Alexandre Julliard
parent a6fa6a4a31
commit 52911fc66c
3 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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