Commit b3e0a032 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent db3be155
......@@ -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
{
......
......@@ -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"
......
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment