## Display Device Driver Reference for OS/2

[prev][next][parent][TOC]

### InitEnable

This function fills the entries in the Call Vector Table for all of the functions supported by this BVH using only SCREEN$ device driver. It is called with parameters similar to the DevEnable entry point specified in DevEnable, except for the Subfunction parameter.

To initialize the Call Vector Table for dynamic link libraries:

        PUSH  DWORD   Parameter2    ; Variable parameter 2
        PUSH  DWORD   Parameter1    ; Variable parameter 1
        PUSH  DWORD   Subfunction   ; Enable subfunction

        CALL  FAR     InitEnable

Parameters

Parameter2 for Subfunction=3

See DevEnable.

Parameter1 for Subfunction=

See DevEnable. Subfunction is the Presentation Manager enable subfunction number. Its value must be 3 to start the Presentation Manager Fill Initialization Device Block subfunction. The default entry point of DevEnable can be overridden by specifying an alternate name in the DEVICE() parameter describing this BVH in the CONFIG.SYS file.

Remarks

This function is called only if video functions are required before Shell Initialization.

The BVH must be able to support the following subfunctions:

100h (256) Function 100h Text Buffer Update

101h (257) Function 101h Initialize Environment

102h (258) Function 102h Save Environment (settable environment only)

103h (259) Function 103h Restore Environment (settable environment only)

104h (260) Function 104h Query Config Info

105h (261) Function 105h DBCS Display Info

108H (264) Function 108h Query Cursor Info

109H (265) Function 109h Set Cursor Info

10CH (268) Function 10Ch Query Mode (80x25 text or equivalent only)

10DH (269) Function 10Dh Set Mode (80x25 text or equivalent only)

112H (274) Function 112h Query Variable Info (code page only)

113H (275) Function 113h Set Variable Info (code page only)

See DevEnable.