VioGetAnsi: Difference between revisions
Appearance
m Ak120 moved page OS2 API:CPI:VioGetAnsi to VioGetAnsi |
mNo edit summary |
||
Line 2: | Line 2: | ||
==Syntax== | ==Syntax== | ||
VioGetAnsi(Indicator, VioHandle) | |||
==Parameters== | ==Parameters== | ||
; Indicator (PULONG) - output : Address of the current ANSI status. | ;Indicator (PULONG) - output : Address of the current ANSI status. | ||
:The ANSI status may be one of the following values: | :The ANSI status may be one of the following values: | ||
:*ANSI is active | :*ANSI is active | ||
:*ANSI is not active | :*ANSI is not active | ||
;VioHandle (HVIO) - input : Presentation-space handle. | ;VioHandle (HVIO) - input : 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:VioGetAnsi returns one of the following values: | |||
VioGetAnsi returns one of the following values: | |||
* 0 NO_ERROR | * 0 NO_ERROR | ||
* 421 ERROR_VIO_INVALID_PARMS | * 421 ERROR_VIO_INVALID_PARMS | ||
Line 29: | Line 19: | ||
==Remarks== | ==Remarks== | ||
When the application issues a VioEndPopUp call, all video calls are directed to the application's normal video buffer. An error is returned if the call is issued with a non-zero handle. | When the application issues a [[VioEndPopUp]] call, all video calls are directed to the application's normal video buffer. An error is returned if the call is issued with a non-zero handle. | ||
[[Category:Vio]] | [[Category:Vio]] |
Revision as of 21:48, 14 October 2018
Returns the current ANSI status on and off state.
Syntax
VioGetAnsi(Indicator, VioHandle)
Parameters
- Indicator (PULONG) - output
- Address of the current ANSI status.
- The ANSI status may be one of the following values:
- ANSI is active
- ANSI is not active
- VioHandle (HVIO) - input
- 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
- VioGetAnsi returns one of the following values:
- 0 NO_ERROR
- 421 ERROR_VIO_INVALID_PARMS
- 436 ERROR_VIO_INVALID_HANDLE
Remarks
When the application issues a VioEndPopUp call, all video calls are directed to the application's normal video buffer. An error is returned if the call is issued with a non-zero handle.