FARPROC16 BootApp; /* startup procedure */
FARPROC16 LoadAppSeg; /* procedure to load a segment */
FARPROC16 reserved2;
- FARPROC16 MyAlloc; /* memory allocation procedure,
+ FARPROC16 MyAlloc; /* memory allocation procedure,
* wine must write this field */
FARPROC16 EntryAddrProc;
FARPROC16 ExitProc; /* exit procedure */
SEGPTR reserved WINE_PACKED;
} LOADPARAMS16;
-typedef struct
+typedef struct
{
LPSTR lpEnvAddress;
LPSTR lpCmdLine;
/* internal representation of 32bit modules. per process. */
typedef enum {
- MODULE32_PE = 1,
- MODULE32_ELF,
- MODULE32_ELFDLL
+ MODULE32_PE = 1,
+ MODULE32_ELF,
+ MODULE32_ELFDLL
} MODULE32_TYPE;
typedef struct _wine_modref
{
- struct _wine_modref *next;
- struct _wine_modref *prev;
- MODULE32_TYPE type;
- union {
- PE_MODREF pe;
- ELF_MODREF elf;
- } binfmt;
-
- HMODULE module;
-
- int nDeps;
- struct _wine_modref **deps;
-
- int flags;
- int refCount;
-
- char *filename;
- char *modname;
- char *short_filename;
- char *short_modname;
+ struct _wine_modref *next;
+ struct _wine_modref *prev;
+ MODULE32_TYPE type;
+ union {
+ PE_MODREF pe;
+ ELF_MODREF elf;
+ } binfmt;
+
+ HMODULE module;
+
+ int nDeps;
+ struct _wine_modref **deps;
+
+ int flags;
+ int refCount;
+
+ char *filename;
+ char *modname;
+ char *short_filename;
+ char *short_modname;
} WINE_MODREF;
#define WINE_MODREF_INTERNAL 0x00000001
extern WINE_MODREF *MODULE_FindModule( LPCSTR path );
/* resource.c */
-extern INT WINAPI AccessResource(HMODULE,HRSRC);
+extern INT WINAPI AccessResource(HMODULE,HRSRC);
#endif /* __WINE_MODULE_H */