VioSetAnsi: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
==Parameters== | ==Parameters== | ||
;Indicator (ULONG) - input : On/Off indicator. | ;Indicator (ULONG) - input: On/Off indicator. | ||
:Equals 1 to activate ANSI support, or 0 to deactivate ANSI. | :Equals 1 to activate ANSI support, or 0 to deactivate ANSI. | ||
; VioHandle (HVIO) - input : VIO presentation-space handle. | ;VioHandle ([[HVIO]]) - input: VIO presentation-space handle. | ||
:This must be 0, unless the caller is a Presentation Manager application; in this case, it must be the value returned by VioCreatePS. | :This must be 0, unless the caller is a Presentation Manager application; in this case, it must be the value returned by [[VioCreatePS]]. | ||
==Return Code== | ==Return Code== | ||
;rc (APIRET) - returns:VioSetAnsi returns one of the following values: | |||
VioSetAnsi returns one of the following values: | 0 NO_ERROR | ||
355 ERROR_VIO_MODE | |||
421 ERROR_VIO_INVALID_PARMS | |||
430 ERROR_VIO_ILLEGAL_DURING_POPUP | |||
436 ERROR_VIO_INVALID_HANDLE | |||
==Remarks== | ==Remarks== |
Latest revision as of 19:01, 1 January 2020
Activates or deactivates ANSI support.
Syntax
VioSetAnsi (Indicator, VioHandle)
Parameters
- Indicator (ULONG) - input
- On/Off indicator.
- Equals 1 to activate ANSI support, or 0 to deactivate ANSI.
- VioHandle (HVIO) - input
- VIO presentation-space handle.
- This must be 0, unless the caller is a Presentation Manager application; in this case, it must be the value returned by VioCreatePS.
Return Code
- rc (APIRET) - returns
- VioSetAnsi returns one of the following values:
0 NO_ERROR 355 ERROR_VIO_MODE 421 ERROR_VIO_INVALID_PARMS 430 ERROR_VIO_ILLEGAL_DURING_POPUP 436 ERROR_VIO_INVALID_HANDLE
Remarks
For ANSI support, "ON" is the default.