Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:docs:fapi:viosetansi [2021/08/20 09:01] – created 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== | + | ===== Return Code ===== |
- | ;rc (USHORT) - return:Return code descriptions are: | + | |
- | *0 NO_ERROR | + | rc ([[USHORT]]) - return |
- | *355 ERROR_VIO_MODE | + | |
- | *421 ERROR_VIO_INVALID_PARMS | + | Return code descriptions are: |
- | *430 ERROR_VIO_ILLEGAL_DURING_POPUP | + | |
- | *436 ERROR_VIO_INVALID_HANDLE | + | |
- | *465 ERROR_VIO_DETACHED | + | *355 ERROR_VIO_MODE |
+ | *421 ERROR_VIO_INVALID_PARMS | ||
+ | *430 ERROR_VIO_ILLEGAL_DURING_POPUP | ||
+ | *436 ERROR_VIO_INVALID_HANDLE | ||
+ | *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> |