Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:docs:fapi:viosetansi [2021/08/27 15:08] – prokushev | en:docs:fapi:viosetansi [2021/09/19 05:25] (current) – prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{page> | {{page> | ||
+ | ====== VioSetAnsi ====== | ||
+ | |||
This call activates or deactivates ANSI support. | This call activates or deactivates ANSI support. | ||
- | ==Syntax== | + | ===== Syntax ===== |
+ | <code c> | ||
| | ||
+ | </ | ||
+ | ===== Parameters ===== | ||
- | ==Parameters== | + | * Indicator ([[USHORT]]) - input: Equals 1 to activate ANSI support or 0 to deactivate ANSI. |
- | ;Indicator (USHORT) - input: Equals 1 to activate ANSI support or 0 to deactivate ANSI. | + | |
- | ;VioHandle (HVIO) - input: This must be zero unless the caller is a Presentation Manager application, | + | |
+ | ===== Return Code ===== | ||
+ | |||
+ | rc ([[USHORT]]) - return | ||
+ | |||
+ | Return code descriptions are: | ||
- | ==Return Code== | ||
- | ;rc (USHORT) - return: | ||
*0 NO_ERROR | *0 NO_ERROR | ||
*355 ERROR_VIO_MODE | *355 ERROR_VIO_MODE | ||
Line 19: | Line 26: | ||
*465 ERROR_VIO_DETACHED | *465 ERROR_VIO_DETACHED | ||
- | ==Remarks== | + | ===== Remarks ===== |
For ANSI support, " | For ANSI support, " | ||
- | ==Bindings== | + | ===== Bindings |
- | ===C=== | + | |
- | <PRE> | + | ====C==== |
+ | <code c> | ||
#define INCL_VIO | #define INCL_VIO | ||
Line 33: | Line 42: | ||
USHORT | USHORT | ||
- | </PRE> | + | </code> |
- | ===MASM=== | + | ====MASM==== |
- | <PRE> | + | <code asm> |
EXTRN VioSetAnsi: | EXTRN VioSetAnsi: | ||
INCL_VIO | INCL_VIO | ||
Line 45: | Line 54: | ||
Returns WORD | Returns WORD | ||
- | </PRE> | + | </code> |