comparison loader/wine/module.h @ 24406:a422b6c96368

Revert r24424. Fix is wrong, because 'packed' attribute can be placed before structure definition only when all members have this attribute.
author voroshil
date Mon, 10 Sep 2007 18:55:52 +0000
parents 67e6bb7dcac4
children c98c9e7f3bd0
comparison
equal deleted inserted replaced
24405:3758413ca0c6 24406:a422b6c96368
9 9
10 #include "windef.h" 10 #include "windef.h"
11 #include "pe_image.h" 11 #include "pe_image.h"
12 12
13 13
14 typedef struct WINE_PACKED { 14 typedef struct {
15 BYTE type; 15 BYTE type;
16 BYTE flags; 16 BYTE flags;
17 BYTE segnum; 17 BYTE segnum;
18 WORD offs; 18 WORD offs WINE_PACKED;
19 } ET_ENTRY; 19 } ET_ENTRY;
20 20
21 typedef struct { 21 typedef struct {
22 WORD first; /* ordinal */ 22 WORD first; /* ordinal */
23 WORD last; /* ordinal */ 23 WORD last; /* ordinal */
55 WORD reserved3[4]; 55 WORD reserved3[4];
56 FARPROC16 SetOwner; /* Set Owner procedure, exported by wine */ 56 FARPROC16 SetOwner; /* Set Owner procedure, exported by wine */
57 } SELFLOADHEADER; 57 } SELFLOADHEADER;
58 58
59 /* Parameters for LoadModule() */ 59 /* Parameters for LoadModule() */
60 typedef struct WINE_PACKED 60 typedef struct
61 { 61 {
62 HGLOBAL16 hEnvironment; /* Environment segment */ 62 HGLOBAL16 hEnvironment; /* Environment segment */
63 SEGPTR cmdLine; /* Command-line */ 63 SEGPTR cmdLine WINE_PACKED; /* Command-line */
64 SEGPTR showCmd; /* Code for ShowWindow() */ 64 SEGPTR showCmd WINE_PACKED; /* Code for ShowWindow() */
65 SEGPTR reserved; 65 SEGPTR reserved WINE_PACKED;
66 } LOADPARAMS16; 66 } LOADPARAMS16;
67 67
68 typedef struct 68 typedef struct
69 { 69 {
70 LPSTR lpEnvAddress; 70 LPSTR lpEnvAddress;