Stubs for COMM.DRV, REBOOT.VXD, VDD.VXD.
This commit is contained in:
parent
2e30f6ffa3
commit
0b597bce93
|
@ -7,6 +7,7 @@ MODULE = if1632
|
|||
|
||||
DLLS = \
|
||||
avifile.spec \
|
||||
comm.spec \
|
||||
commdlg.spec \
|
||||
compobj.spec \
|
||||
ddeml.spec \
|
||||
|
|
|
@ -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 },
|
||||
|
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
41
msdos/vxd.c
41
msdos/vxd.c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue