en:docs:fapi:viosetansi

Differences

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

Link to this comparison view

Next revision
Previous revision
en:docs:fapi:viosetansi [2021/08/20 09:01] – created 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== +===== 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 +  *0 NO_ERROR 
-*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, "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>