VioCreatePS: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
Line 21: | Line 21: | ||
===Return Code=== | ===Return Code=== | ||
;rc (APIRET) - returns:VioCreatePS returns one of the following values: | |||
VioCreatePS returns one of the following values: | |||
* 0 NO_ERROR | * 0 NO_ERROR | ||
* 421 ERROR_VIO_INVALID_PARMS | * 421 ERROR_VIO_INVALID_PARMS |
Revision as of 14:37, 26 July 2018
Creates a VIO presentation space.
Syntax
VioCreatePS(phvps, Rows, Columns, Format, AttrBytes, hvps)
Parameters
- phvps (PHVIO) - output
- Pointer to the presentation-space handle.
- The location where the newly created presentation-space handle is to be returned.
- Rows (ULONG) - input
- Number of rows.
- The number of rows in the presentation space. The maximum value allowed is 255.
- Columns (ULONG) - input
- Number of columns.
- The number of columns in the presentation space. The maximum value allowed is 255.
- Format (ULONG) - input
- Format of the attributes
- The attributes may be one of the following format types:
- 1 VGA compatible
- 2 Unicode
- 3 MFI compatible
- AttrBytes (ULONG) - input
- Number of attribute bytes.
- This is used along with the format to select the attribute structure. This field has a value of 1, 2, or 3.
- hvps (HVIO) - input
- Reserved. Must be 0.
Return Code
- rc (APIRET) - returns
- VioCreatePS returns one of the following values:
- 0 NO_ERROR
- 421 ERROR_VIO_INVALID_PARMS
- 436 ERROR_VIO_INVALID_HANDLE