twain: Make structures respect 2 byte packing requirements.

oldstable
Jeremy White 2006-02-14 12:24:45 +01:00 committed by Alexandre Julliard
parent 22357ca388
commit 5b04c3ea5a
1 changed files with 6 additions and 0 deletions

View File

@ -57,6 +57,9 @@
#include "windef.h"
#include "winbase.h"
/* The Twain structures must be packed on 2 byte alignment */
#include "pshpack2.h"
#undef FAR
#define FAR
#define huge
@ -1861,4 +1864,7 @@ typedef TW_UINT16 (*DSENTRYPROC)(pTW_IDENTITY,
}
#endif /* cplusplus */
/* The Twain structures must be packed on 2 byte alignment */
#include "poppack.h"
#endif /* TWAIN */