include: COMMCONFIG.wcProviderData is WCHAR, not DWORD.

Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Serge Gautherie 2020-02-29 07:37:35 +01:00 committed by Alexandre Julliard
parent 52c6070ea5
commit a59d6387b6
2 changed files with 5 additions and 5 deletions

View File

@ -546,8 +546,8 @@ static void test_pack_COMMCONFIG(void)
TEST_FIELD_SIZE (COMMCONFIG, dwProviderSize, 4) TEST_FIELD_SIZE (COMMCONFIG, dwProviderSize, 4)
TEST_FIELD_ALIGN (COMMCONFIG, dwProviderSize, 4) TEST_FIELD_ALIGN (COMMCONFIG, dwProviderSize, 4)
TEST_FIELD_OFFSET(COMMCONFIG, dwProviderSize, 44) TEST_FIELD_OFFSET(COMMCONFIG, dwProviderSize, 44)
TEST_FIELD_SIZE (COMMCONFIG, wcProviderData, 4) TEST_FIELD_SIZE (COMMCONFIG, wcProviderData, 2)
TEST_FIELD_ALIGN (COMMCONFIG, wcProviderData, 4) TEST_FIELD_ALIGN (COMMCONFIG, wcProviderData, 2)
TEST_FIELD_OFFSET(COMMCONFIG, wcProviderData, 48) TEST_FIELD_OFFSET(COMMCONFIG, wcProviderData, 48)
} }
@ -2403,8 +2403,8 @@ static void test_pack_COMMCONFIG(void)
TEST_FIELD_SIZE (COMMCONFIG, dwProviderSize, 4) TEST_FIELD_SIZE (COMMCONFIG, dwProviderSize, 4)
TEST_FIELD_ALIGN (COMMCONFIG, dwProviderSize, 4) TEST_FIELD_ALIGN (COMMCONFIG, dwProviderSize, 4)
TEST_FIELD_OFFSET(COMMCONFIG, dwProviderSize, 44) TEST_FIELD_OFFSET(COMMCONFIG, dwProviderSize, 44)
TEST_FIELD_SIZE (COMMCONFIG, wcProviderData, 4) TEST_FIELD_SIZE (COMMCONFIG, wcProviderData, 2)
TEST_FIELD_ALIGN (COMMCONFIG, wcProviderData, 4) TEST_FIELD_ALIGN (COMMCONFIG, wcProviderData, 2)
TEST_FIELD_OFFSET(COMMCONFIG, wcProviderData, 48) TEST_FIELD_OFFSET(COMMCONFIG, wcProviderData, 48)
} }

View File

@ -1409,7 +1409,7 @@ typedef struct tagCOMMCONFIG {
DWORD dwProviderSubType; DWORD dwProviderSubType;
DWORD dwProviderOffset; DWORD dwProviderOffset;
DWORD dwProviderSize; DWORD dwProviderSize;
DWORD wcProviderData[1]; WCHAR wcProviderData[1];
} COMMCONFIG, *LPCOMMCONFIG; } COMMCONFIG, *LPCOMMCONFIG;
typedef struct tagCOMMPROP { typedef struct tagCOMMPROP {