Moved entry point definitions from module.h to kernel16_private.h.

This commit is contained in:
Alexandre Julliard 2005-05-18 18:27:54 +00:00
parent db3be15567
commit b3e0a032ce
3 changed files with 27 additions and 34 deletions

View file

@ -24,7 +24,6 @@
#include "wine/winbase16.h"
#include "winreg.h"
#include "winternl.h"
#include "module.h"
#include "pshpack1.h"
@ -69,6 +68,32 @@ typedef struct _NE_MODULE
HANDLE fd; /* 4c handle to the binary file */
} NE_MODULE;
typedef struct
{
BYTE type;
BYTE flags;
BYTE segnum;
WORD offs;
} ET_ENTRY;
typedef struct
{
WORD first; /* ordinal */
WORD last; /* ordinal */
WORD next; /* bundle */
} ET_BUNDLE;
/* In-memory segment table */
typedef struct
{
WORD filepos; /* Position in file, in sectors */
WORD size; /* Segment size on disk */
WORD flags; /* Segment flags */
WORD minsize; /* Min. size of segment in memory */
HANDLE16 hSeg; /* Selector or handle (selector - 1) of segment in memory */
} SEGTABLEENTRY;
/* this structure is always located at offset 0 of the DGROUP segment */
typedef struct
{

View file

@ -37,6 +37,7 @@
#include "module.h"
#include "wine/exception.h"
#include "excpt.h"
#include "wine/library.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "wine/server.h"

View file

@ -24,39 +24,6 @@
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <wine/windef16.h>
#include <wine/winbase16.h>
#include <winternl.h>
#include <pshpack1.h>
typedef struct {
BYTE type;
BYTE flags;
BYTE segnum;
WORD offs;
} ET_ENTRY;
typedef struct {
WORD first; /* ordinal */
WORD last; /* ordinal */
WORD next; /* bundle */
} ET_BUNDLE;
/* In-memory segment table */
typedef struct
{
WORD filepos; /* Position in file, in sectors */
WORD size; /* Segment size on disk */
WORD flags; /* Segment flags */
WORD minsize; /* Min. size of segment in memory */
HANDLE16 hSeg; /* Selector or handle (selector - 1) */
/* of segment in memory */
} SEGTABLEENTRY;
#include <poppack.h>
enum loadorder_type
{