ddeml: Fix packing of the thunk structure.
This commit is contained in:
parent
251c26e0f9
commit
d8d2aa96fa
|
@ -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
|
||||||
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 =
|
||||||
|
|
Loading…
Reference in New Issue