Commit d8d2aa96 authored by Alexandre Julliard's avatar Alexandre Julliard

ddeml: Fix packing of the thunk structure.

parent 251c26e0
...@@ -156,6 +156,7 @@ static HDDEDATA CALLBACK WDML_InvokeCallback16(DWORD pfn16, UINT uType, UINT uFm ...@@ -156,6 +156,7 @@ static HDDEDATA CALLBACK WDML_InvokeCallback16(DWORD pfn16, UINT uType, UINT uFm
* WDML_InvokeCallback16. * WDML_InvokeCallback16.
* The code below is mainly to create the thunks themselved * The code below is mainly to create the thunks themselved
*/ */
#include "pshpack1.h"
static struct ddeml_thunk static struct ddeml_thunk
{ {
BYTE popl_eax; /* popl %eax (return address) */ BYTE popl_eax; /* popl %eax (return address) */
...@@ -166,6 +167,7 @@ static struct ddeml_thunk ...@@ -166,6 +167,7 @@ static struct ddeml_thunk
DWORD callback; DWORD callback;
DWORD instId; /* instance ID */ DWORD instId; /* instance ID */
} *DDEML16_Thunks; } *DDEML16_Thunks;
#include "poppack.h"
static CRITICAL_SECTION ddeml_cs; static CRITICAL_SECTION ddeml_cs;
static CRITICAL_SECTION_DEBUG critsect_debug = static CRITICAL_SECTION_DEBUG critsect_debug =
......
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