Commit e4ca13ea authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Move 16-bit COMM code to USER dll.

parent 186a79cb
......@@ -20,7 +20,6 @@
extern void CODEPAGE_Init(void);
extern BOOL RELAY_Init(void);
extern BOOL THUNK_Init(void);
extern void COMM_Init(void);
/***********************************************************************
......@@ -77,9 +76,6 @@ static BOOL process_attach(void)
/* Force loading of some dlls */
if (LoadLibrary16( "system" ) < 32) return FALSE;
/* Initialize communications */
COMM_Init();
/* Read DOS config.sys */
if (!DOSCONF_ReadConfig()) return FALSE;
......
......@@ -10,6 +10,7 @@ IMPORTS = gdi32 kernel32 ntdll
C_SRCS = \
bidi16.c \
cache.c \
comm16.c \
dde/client.c \
dde/ddeml16.c \
dde/misc.c \
......
......@@ -35,6 +35,8 @@ WORD USER_HeapSel = 0; /* USER heap selector */
static HMODULE graphics_driver;
extern void COMM_Init(void);
#define GET_USER_FUNC(name) USER_Driver.p##name = (void*)GetProcAddress( graphics_driver, #name )
/* load the graphics driver */
......@@ -246,6 +248,9 @@ static BOOL process_attach(void)
/* Initialize mouse driver */
MOUSE_Enable( mouse_event );
/* Initialize 16-bit serial communications */
COMM_Init();
return TRUE;
}
......
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