Fix rpcrt4 test conpilation with latest Windows SDK
Francois Gouget
fgouget at free.fr
Thu Oct 28 19:18:58 CDT 2004
It seems that in the latest Windows SDK Microsoft renamed the
MIDL_STUB_MESSAGE.UniquePtrCount to Unused2. This is a bit strange as it
seems like a step backward. Here's the SDK I am now using for reference:
XPSP2 PSDK Full Download with Local Install
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm
So I modified the tools/winapi/test.dat to ignore this field and now the
generated test compiles on Windows.
Changelog:
* dlls/rpcrt4/tests/generated.c
tools/winapi/tests.dat
MIDL_STUB_MESSAGE.UniquePtrCount has been renamed in the latest SDK
so ignore it.
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
Stolen from an Internet user:
"f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng !"
-------------- next part --------------
Index: dlls/rpcrt4/tests/generated.c
===================================================================
RCS file: /var/cvs/wine/dlls/rpcrt4/tests/generated.c,v
retrieving revision 1.1
diff -u -r1.1 generated.c
--- dlls/rpcrt4/tests/generated.c 8 Sep 2004 01:27:24 -0000 1.1
+++ dlls/rpcrt4/tests/generated.c 28 Oct 2004 12:38:58 -0000
@@ -413,7 +413,6 @@
TEST_FIELD(MIDL_STUB_MESSAGE, unsigned char *, PointerBufferMark, 52, 4, 4);
TEST_FIELD(MIDL_STUB_MESSAGE, unsigned char, fBufferValid, 56, 1, 1);
TEST_FIELD(MIDL_STUB_MESSAGE, unsigned char, uFlags, 57, 1, 1);
- TEST_FIELD(MIDL_STUB_MESSAGE, unsigned short, UniquePtrCount, 58, 2, 2);
TEST_FIELD(MIDL_STUB_MESSAGE, ULONG_PTR, MaxCount, 60, 4, 4);
TEST_FIELD(MIDL_STUB_MESSAGE, unsigned long, Offset, 64, 4, 4);
TEST_FIELD(MIDL_STUB_MESSAGE, unsigned long, ActualCount, 68, 4, 4);
Index: tools/winapi/tests.dat
===================================================================
RCS file: /var/cvs/wine/tools/winapi/tests.dat,v
retrieving revision 1.27
diff -u -r1.27 tests.dat
--- tools/winapi/tests.dat 8 Sep 2004 01:27:24 -0000 1.27
+++ tools/winapi/tests.dat 28 Oct 2004 12:37:30 -0000
@@ -950,7 +950,7 @@
MIDL_FORMAT_STRING
MIDL_SERVER_INFO
MIDL_STUB_DESC
-MIDL_STUB_MESSAGE
+MIDL_STUB_MESSAGE: !UniquePtrCount
MIDL_STUBLESS_PROXY_INFO
MIDL_SYNTAX_INFO
NDR_CCONTEXT
More information about the wine-patches
mailing list