en:docs:fapi:viosetansi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:docs:fapi:viosetansi [2021/08/27 15:08] prokusheven:docs:fapi:viosetansi [2021/09/19 05:25] (current) prokushev
Line 1: Line 1:
 {{page>en:templates:fapiint}} {{page>en:templates:fapiint}}
 +====== VioSetAnsi ====== 
 + 
 This call activates or deactivates ANSI support. This call activates or deactivates ANSI support.
  
-==Syntax==+===== Syntax ===== 
 +<code c>
  VioSetAnsi (Indicator, VioHandle)  VioSetAnsi (Indicator, VioHandle)
 +</code>
 +===== 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, in which case it must be the value returned by VioGetPs. 
-;VioHandle (HVIO) - input: This must be zero unless the caller is a Presentation Manager application, in which case it must be the value returned by VioGetPs.+ 
 +===== Return Code ===== 
 + 
 +rc ([[USHORT]]) - return 
 + 
 +Return code descriptions are:
  
-==Return Code== 
-;rc (USHORT) - return:Return code descriptions are: 
   *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, "ON" is the default. For ANSI support, "ON" is the default.
  
-==Bindings== +===== Bindings ===== 
-===C=== + 
-<PRE>+====C==== 
 +<code c>
 #define INCL_VIO #define INCL_VIO
  
Line 33: Line 42:
  
 USHORT  rc;            /* return code */ USHORT  rc;            /* return code */
-</PRE>+</code>
  
-===MASM=== +====MASM==== 
-<PRE>+<code asm>
 EXTRN  VioSetAnsi:FAR EXTRN  VioSetAnsi:FAR
 INCL_VIO            EQU 1 INCL_VIO            EQU 1
Line 45: Line 54:
  
 Returns WORD Returns WORD
-</PRE>+</code>