Commit b46be0be authored by Alexandre Julliard's avatar Alexandre Julliard

winapi: Handle types should be treated as pointers.

parent b0b8a2fb
......@@ -2856,7 +2856,6 @@ static void test_pack_HCURSOR(void)
/* HCURSOR */
TEST_TYPE_SIZE (HCURSOR, 4)
TEST_TYPE_ALIGN (HCURSOR, 4)
TEST_TYPE_UNSIGNED(HCURSOR)
}
static void test_pack_HFILE(void)
......@@ -2893,7 +2892,6 @@ static void test_pack_HMODULE(void)
/* HMODULE */
TEST_TYPE_SIZE (HMODULE, 4)
TEST_TYPE_ALIGN (HMODULE, 4)
TEST_TYPE_UNSIGNED(HMODULE)
}
static void test_pack_INT(void)
......
......@@ -220,9 +220,9 @@ sub _find_align_kind_size($) {
$align = 4;
$kind = "float";
$size = 12;
} elsif (/^H(?:DC|BITMAP|BRUSH|ICON|INSTANCE|KEY|MENU|METAFILE|RESULT|WND)$/) {
} elsif (/^H(?:DC|BITMAP|BRUSH|ICON|INSTANCE|KEY|MENU|METAFILE|WND)$/) {
$align = 4;
$kind = "unsigned";
$kind = "pointer";
$size = 4;
} elsif (/^LP(?:BYTE|CSTR|CWSTR|DWORD|STR|VOID|WSTR)$/) {
$align = 4;
......
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