- Timestamp:
- Oct 7, 2011, 12:57:25 AM (14 years ago)
- File:
-
- 1 edited
-
branches/gcc-kmk/include/win/pe_image.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/include/win/pe_image.h
r4124 r21700 32 32 extern HGLOBAL PE_LoadResource(struct _wine_modref *wm,HRSRC); 33 33 extern HMODULE PE_LoadImage( HFILE hFile, OFSTRUCT *ofs, LPCSTR *modName ); 34 extern struct _wine_modref *PE_CreateModule( HMODULE hModule, OFSTRUCT *ofs, 34 extern struct _wine_modref *PE_CreateModule( HMODULE hModule, OFSTRUCT *ofs, 35 35 DWORD flags, BOOL builtin ); 36 extern BOOL PE_CreateProcess( HFILE hFile, OFSTRUCT *ofs, LPCSTR cmd_line, LPCSTR env, 36 extern BOOL PE_CreateProcess( HFILE hFile, OFSTRUCT *ofs, LPCSTR cmd_line, LPCSTR env, 37 37 LPSECURITY_ATTRIBUTES psa, LPSECURITY_ATTRIBUTES tsa, 38 38 BOOL inherit, LPSTARTUPINFOA startup, … … 48 48 49 49 typedef struct { 50 WORD popl WINE_PACKED;/* 0x8f 0x05 */51 DWORD addr_popped WINE_PACKED;/* ... */52 BYTE pushl1 WINE_PACKED;/* 0x68 */53 DWORD newret WINE_PACKED;/* ... */54 BYTE pushl2 WINE_PACKED;/* 0x68 */55 DWORD origfun WINE_PACKED;/* original function */56 BYTE ret1 WINE_PACKED;/* 0xc3 */57 WORD addesp WINE_PACKED;/* 0x83 0xc4 */58 BYTE nrofargs WINE_PACKED; /* nr of arguments to add esp, */59 BYTE pushl3 WINE_PACKED;/* 0x68 */60 DWORD oldret WINE_PACKED;/* Filled out from popl above */61 BYTE ret2 WINE_PACKED;/* 0xc3 */62 } ELF_STDCALL_STUB;50 WORD popl; /* 0x8f 0x05 */ 51 DWORD addr_popped;/* ... */ 52 BYTE pushl1; /* 0x68 */ 53 DWORD newret; /* ... */ 54 BYTE pushl2; /* 0x68 */ 55 DWORD origfun; /* original function */ 56 BYTE ret1; /* 0xc3 */ 57 WORD addesp; /* 0x83 0xc4 */ 58 BYTE nrofargs; /* nr of arguments to add esp, */ 59 BYTE pushl3; /* 0x68 */ 60 DWORD oldret; /* Filled out from popl above */ 61 BYTE ret2; /* 0xc3 */ 62 } WINE_PACKED ELF_STDCALL_STUB; 63 63 64 64 typedef struct {
Note:
See TracChangeset
for help on using the changeset viewer.
