Stubs for COMM.DRV, REBOOT.VXD, VDD.VXD.

This commit is contained in:
Ulrich Weigand 1998-10-11 19:01:33 +00:00 committed by Alexandre Julliard
parent 2e30f6ffa3
commit 0b597bce93
5 changed files with 69 additions and 0 deletions

View File

@ -7,6 +7,7 @@ MODULE = if1632
DLLS = \
avifile.spec \
comm.spec \
commdlg.spec \
compobj.spec \
ddeml.spec \

View File

@ -47,6 +47,7 @@ typedef struct
/* 16-bit DLLs */
extern const WIN16_DESCRIPTOR AVIFILE_Descriptor;
extern const WIN16_DESCRIPTOR COMM_Descriptor;
extern const WIN16_DESCRIPTOR COMMDLG_Descriptor;
extern const WIN16_DESCRIPTOR COMPOBJ_Descriptor;
extern const WIN16_DESCRIPTOR DDEML_Descriptor;
@ -103,6 +104,7 @@ static BUILTIN16_DLL BuiltinDLLs[] =
{ &COMPOBJ_Descriptor, DLL_FLAG_NOT_USED },
{ &DDEML_Descriptor, DLL_FLAG_NOT_USED },
{ &KEYBOARD_Descriptor, 0 },
{ &COMM_Descriptor, 0 },
{ &LZEXPAND_Descriptor, 0 },
{ &MMSYSTEM_Descriptor, 0 },
{ &MOUSE_Descriptor, 0 },

23
if1632/comm.spec Normal file
View File

@ -0,0 +1,23 @@
name comm
type win16
1 stub INICOM
2 stub SETCOM
3 stub SETQUE
4 stub RECCOM
5 stub SNDCOM
6 stub CTX
7 stub TRMCOM
8 stub STACOM
9 stub CEXTFCN
10 stub CFLUSH
11 stub CEVT
12 stub CEVTGET
13 stub CSETBRK
14 stub CCLRBRK
15 stub GETDCB
16 stub WEP
19 stub COMMWRITESTRING
20 stub READCOMMSTRING
100 stub ENABLENOTIFICATION

View File

@ -283,6 +283,8 @@ type win16
#
401 register VXD_VMM() VXD_VMM
405 register VXD_Timer() VXD_Timer
409 register VXD_Reboot() VXD_Reboot
410 register VXD_VDD() VXD_VDD
414 register VXD_Comm() VXD_Comm
#415 register VXD_Printer() VXD_Printer
423 register VXD_Shell() VXD_Shell

View File

@ -100,6 +100,47 @@ void WINAPI VXD_PageFile( CONTEXT *context )
}
}
/***********************************************************************
* VXD_Reboot
*/
void VXD_Reboot ( CONTEXT *context )
{
unsigned service = AX_reg(context);
TRACE(vxd,"[%04x] VMM \n", (UINT16)service);
switch(service)
{
case 0x0000: /* version */
AX_reg(context) = VXD_WinVersion();
RESET_CFLAG(context);
break;
default:
VXD_BARF( context, "REBOOT" );
}
}
/***********************************************************************
* VXD_VDD
*/
void VXD_VDD ( CONTEXT *context )
{
unsigned service = AX_reg(context);
TRACE(vxd,"[%04x] VMM \n", (UINT16)service);
switch(service)
{
case 0x0000: /* version */
AX_reg(context) = VXD_WinVersion();
RESET_CFLAG(context);
break;
default:
VXD_BARF( context, "VDD" );
}
}
/***********************************************************************
* VXD_Shell