BANKINFO

Bank information data structure.

Type
ULONG ulBankLength; USHORT usBank; USHORT usVideoModeType; USHORT usReadWriteMode;

C Declaration Method
typedef struct

Fields

 * ulBankLength:Length of the bank.
 * Represents the combined length of all parameter packet fields. This is a required field for all calls, including those made by way of the 32-bit DosDevIOCtl, with a minimum packet length of 10 bytes.


 * usBank:Current bank.
 * The current bank value to be set/returned. The bank size is 64KB regardless of the value specified for the video mode type field.


 * usVideoModeType:Current video mode type.
 * Defines the adapter video mode type to the device driver, and has one of the following values:
 * 0 - Text Mode
 * 1 - Planar Mode
 * 2 - Linear Mode
 * This field is required.


 * usReadWriteMode:Read/Write bank mode.
 * Specifies what bank type is to be set/returned, and has one of the following values:
 * 0 - Read
 * 1 - Write
 * This field is required.