Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

54 lines
1.7 KiB

/*
*
* Title : virtual.h Virtual Machine support for Windows 3.x.
*
*/
/* SccsID[]="@(#)virtual.h 1.3 05/10/95 Copyright Insignia Solutions Ltd."; */
/*
* ============================================================================
* Structure/Data definitions
* ============================================================================
*/
/* Creation and Termination Callback prototypes */
typedef void (*NIDDB_CR_CALLBACK) IPT1(IHP *, orig_handle);
typedef void (*NIDDB_TM_CALLBACK) IPT0();
/*
* ============================================================================
* External declarations
* ============================================================================
*/
/* Allocate per Virtual Machine data area for Device Driver. */
GLOBAL IHP *NIDDB_Allocate_Instance_Data IPT3
(
int, size, /* Size(in bytes) of data area reqd. */
NIDDB_CR_CALLBACK, create_cb, /* create callback, 0 if not reqd. */
NIDDB_TM_CALLBACK, terminate_cb /* terminate callback, 0 if not reqd. */
);
/* Deallocate per Virtual Machine data area for Device Driver. */
GLOBAL void NIDDB_Deallocate_Instance_Data IPT1
(
IHP *, handle /* Handle to data area */
);
/* Inform NIDDB Manager about System reboot */
GLOBAL void NIDDB_System_Reboot IPT0();
/*
Entry point from Windows 386 Virtual Device Driver (INSIGNIA.386).
Provide virtualising services as required.
*/
GLOBAL void virtual_device_trap IPT0();
/* Ensure correct instance in place for Device Drivers. */
/* Called by BOP handler(bios.c) for any Device Driver BOP. */
GLOBAL void virtual_swap_instance IPT0();
/* Indicate if NIDDB is active */
GLOBAL IBOOL NIDDB_is_active IPT0();