Move 16-bit COMM code to USER dll.

This commit is contained in:
Mike McCormack 2001-07-24 20:49:41 +00:00 committed by Alexandre Julliard
parent 186a79cb92
commit e4ca13ea82
5 changed files with 1118 additions and 1073 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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;

View File

@ -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 \

1112
dlls/user/comm16.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -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;
}