Chapter 17. Miscellaneous Services

There are the following miscellaneous services:

Service Description
_AddReclaimableItem Identifies regions of VM memory that can be reclaimed.
Begin_Reentrant_Execution Start re-entrant execution.
_CallRing3 Reserved for internal use.
Close_Boot_Log Closes the system boot log.
Directed_Sys_Control Jumps to the VxD's device-control procedure.
EnableDisable_Boot_Log Enables or disables boot logging from the virtual machine manager (VMM).
End_Reentrant_Execution End re-entrant execution.
_EnumReclaimableItem Enumerates reclaimable regions of VM memory declared by a previous call to the _AddReclaimableIem.
Get_Boot_Flags Retrieves the boot-time flags.
Get_DDB Determines whether or not a VxD is installed for the specified device and returns a DDB (Device Description Block) for that device if it is installed.
GetSetDetailedVMError Gets and sets error information.
_GetVxDName Retrieves the name of the VxD that contains the specified linear address.
Hook_Device_PM_API Installs a protected-mode API callback.
Hook_Device_Service Installs a hook for a device service.
Hook_Device_V86_API Installs a V86-mode API callback.
Install_Exception_Handler Installs an exception handler.
_LocalizeSprintf To be supplied.
_LocalizeStackSprintf To be supplied.
Log_Fault_Call_Out Callout service that the VMM calls when it is about to report a fault to the user.
Map_Flat Converts a V86 or protected-mode address.
Map_Lin_To_VM_Addr Converts a linear address.
MMGR_SetNULPageAddr Sets the physical address of system nul page.
Open_Boot_Log Opens the system boot log.
_Register_Win32_Services Copies the location of the calling VxD's Win32 service-table in the DDB.
Remove_Exception_Handler Removes an exception handler.
Set_Boot_Flags Sets the boot-time flags.
Set_Delete_On_Exit_File Adds a file to the list to delete when exiting.
_SetReclaimableItem Marks as fully reclaimable or restorable, the regions of reclaimable VM memory declared by a previous call to the _AddReclaimableItem service.
Set_System_Exit_Code Sets the Windows exit code value.
System_Control Sends a control message to all virtual devices.
Unhook_Device_Service Unhooks a device service.
VMM_Add_DDB Adds a Vxd_Desc_Block structure (DDB or Device Description Block) to the appropriate location in the device list (the locations are based on the initialization order).
VMM_GetDDBList Retrieves the address of the DDB (Device Description Block) list.
VMM_GetVxDLocationList Returns the address of the VxD location list in EAX, returns the count of VxDs in EDX, and returns the list size (in bytes) in ECX.
VMM_Remove_DDB Removes a Vxd_Desc_Block structure (DDB or Device Description Block) from the device list.
VMMAddImportModuleName Adds the specified import-module name to an internal table.