Differences
This shows you the differences between two versions of the page.
en:docs:fapi:viogetansi [2021/08/20 09:00] – created prokushev | en:docs:fapi:viogetansi [2021/09/19 05:23] (current) – prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{page> | {{page> | ||
+ | ====== VioGetAnsi ====== | ||
+ | |||
This call returns the current ANSI status On/Off state. | This call returns the current ANSI status On/Off state. | ||
- | ==Syntax== | + | ===== Syntax |
- | | + | <code c> |
+ | VioGetAnsi (Indicator, VioHandle) | ||
+ | </ | ||
+ | |||
+ | ===== Parameters ===== | ||
+ | |||
+ | * Indicator ([[PUSHORT]]) - output : Address of the current ANSI status. A value of 1 indicates ANSI is active, and a value of 0 indicates ANSI is not active. | ||
+ | * VioHandle ([[HVIO]]) - input : This must be zero unless the caller is a Presentation Manager application, | ||
+ | |||
+ | ===== Return Code ===== | ||
+ | |||
+ | rc ([[USHORT]]) - return | ||
+ | |||
+ | Return code descriptions are: | ||
- | ==Parameters== | + | * 0 |
- | ;Indicator (PUSHORT) - output : Address of the current ANSI status. A value of 1 indicates ANSI is active, and a value of 0 indicates ANSI is not active. | + | *436 ERROR_VIO_INVALID_HANDLE |
- | ;VioHandle (HVIO) - input : This must be zero unless the caller is a Presentation Manager application, | + | *465 ERROR_VIO_DETACHED |
- | ==Return Code== | + | ===== Bindings ===== |
- | ;rc (USHORT) - return: | + | |
- | * 0 NO_ERROR | + | |
- | *436 ERROR_VIO_INVALID_HANDLE | + | |
- | *465 ERROR_VIO_DETACHED | + | |
- | ==Bindings== | + | ====C==== |
- | ===C=== | + | <code c> |
- | <PRE> | + | |
#define INCL_VIO | #define INCL_VIO | ||
Line 27: | Line 36: | ||
USHORT | USHORT | ||
- | </PRE> | + | </code> |
- | ===MASM=== | + | ====MASM==== |
- | <PRE> | + | <code asm> |
EXTRN VioGetAnsi: | EXTRN VioGetAnsi: | ||
INCL_VIO | INCL_VIO | ||
Line 39: | Line 48: | ||
Returns WORD | Returns WORD | ||
- | </PRE> | + | </code> |