[PATCH 2/3] winapi_test: Remove 1 MIDL_STUB_MESSAGE field exclusion.

Serge Gautherie winehq-git_serge_180711 at gautherie.fr
Thu Jul 23 04:42:37 CDT 2020


Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
---
Revert 5c033dad7991375a3d5c9abe92d454e7c9d56f77.
NB:
Wine never renamed this field... PSDK S03R2 and SDK 10.0.16299.0 have it.
---
 dlls/rpcrt4/tests/generated.c | 6 ++++++
 tools/winapi/tests.dat        | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/dlls/rpcrt4/tests/generated.c b/dlls/rpcrt4/tests/generated.c
index a111bb0..7dd5968 100644
--- a/dlls/rpcrt4/tests/generated.c
+++ b/dlls/rpcrt4/tests/generated.c
@@ -623,6 +623,9 @@ static void test_pack_MIDL_STUB_MESSAGE(void)
     TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, uFlags, 1)
     TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, uFlags, 1)
     TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, uFlags, 97)
+    TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, UniquePtrCount, 2)
+    TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, UniquePtrCount, 2)
+    TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, UniquePtrCount, 98)
     TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, MaxCount, 8)
     TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, MaxCount, 8)
     TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, MaxCount, 104)
@@ -1481,6 +1484,9 @@ static void test_pack_MIDL_STUB_MESSAGE(void)
     TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, uFlags, 1)
     TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, uFlags, 1)
     TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, uFlags, 57)
+    TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, UniquePtrCount, 2)
+    TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, UniquePtrCount, 2)
+    TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, UniquePtrCount, 58)
     TEST_FIELD_SIZE  (MIDL_STUB_MESSAGE, MaxCount, 4)
     TEST_FIELD_ALIGN (MIDL_STUB_MESSAGE, MaxCount, 4)
     TEST_FIELD_OFFSET(MIDL_STUB_MESSAGE, MaxCount, 60)
diff --git a/tools/winapi/tests.dat b/tools/winapi/tests.dat
index ccf2934..4881339 100644
--- a/tools/winapi/tests.dat
+++ b/tools/winapi/tests.dat
@@ -967,7 +967,7 @@ MALLOC_FREE_STRUCT
 MIDL_FORMAT_STRING
 MIDL_SERVER_INFO
 MIDL_STUB_DESC
-MIDL_STUB_MESSAGE: !UniquePtrCount
+MIDL_STUB_MESSAGE
 MIDL_STUBLESS_PROXY_INFO
 MIDL_SYNTAX_INFO
 NDR_CCONTEXT
-- 
2.10.0.windows.1




More information about the wine-devel mailing list