DOSMGR_Enable_Indos_Polling

include dosmgr.inc

VxDcall DOSMGR_Enable_Indos_Polling


The DOSMGR_Enable_Indos_Polling service enables the InDOS polling for the the Windows session. This allows TSR drivers that hook Interrupt 21h, and claim the critical section by setting the internal MS-DOS InDOS flag to continue to operate normally.

This service is intended for use by the virtual DOSNET device so that it can enable polling if the installed network requires it. The virtual device must not call this service during a Sys_Critical_Init message.

Parameters

This service has no parameters.

Return Value

The carry flag is clear if InDOS polling is enabled. Otherwise, the carry flag is set to indicate polling was already enabled.

Comments

Enabling InDOS polling has a severe impact on overall system performance.

This service overrides the InDOSPOLLING value specified in the SYSTEM.INI file. Since the virtual MS-DOS manager evaluates the SYSTEM.INI file during the Init_Complete message, a virtual device must call this service during the Device_Init message.

Uses

Flags