BANKINFO: Difference between revisions
Appearance
Format |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Bank information data structure. | Bank information data structure. | ||
=== Type === | === Type === | ||
[[ULONG]] ulBankLength; | |||
[[ | [[USHORT]] usBank; | ||
[[ | USHORT usVideoModeType; | ||
USHORT usReadWriteMode; | |||
==== C Declaration Method ==== | ==== C Declaration Method ==== | ||
typedef struct | typedef struct | ||
=== Fields === | === 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. | |||
[[Category:Data type]] | |||
Latest revision as of 13:45, 24 May 2017
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.