ddeml: Fix packing of the thunk structure.

This commit is contained in:
Alexandre Julliard 2009-08-18 16:54:14 +02:00
parent 251c26e0f9
commit d8d2aa96fa
1 changed files with 2 additions and 0 deletions

View File

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