en:docs:fapi:viowrtnchar

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:fapi:viowrtnchar [2021/08/22 05:50] prokusheven:docs:fapi:viowrtnchar [2021/09/19 04:42] (current) prokushev
Line 1: Line 1:
 {{page>en:templates:fapiint}} {{page>en:templates:fapiint}}
 +
 +====== VioWrtNChar ======
 +
 +===== Brief =====
  
 VioWrtNChar writes a character to the display a specified number of times. VioWrtNChar writes a character to the display a specified number of times.
  
-==Syntax==+===== Syntax =====
  
 <code c> <code c>
Line 9: Line 13:
 </code> </code>
  
-==Parameters==+===== Parameters =====
  
   * Char (PCH) - input : Address of the character to be written.   * Char (PCH) - input : Address of the character to be written.
Line 17: Line 21:
   * 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:  rc (USHORT) - return Return code descriptions are:
Line 28: Line 32:
   * 465        ERROR_VIO_DETACHED   * 465        ERROR_VIO_DETACHED
  
-==Remarks==+===== Remarks =====
 If a repeated write gets to the end of the line and is not complete, the write continues at the beginning of the next line. If the write gets to the end of the screen, the write terminates. If a repeated write gets to the end of the line and is not complete, the write continues at the beginning of the next line. If the write gets to the end of the screen, the write terminates.
  
-===PM Considerations===+==== Presentation Manager Considerations ====
 Write a character to the Advanced VIO presentation space a number of times. The caller must specify the starting location on the presentation space where the string is to be written.  Write a character to the Advanced VIO presentation space a number of times. The caller must specify the starting location on the presentation space where the string is to be written. 
  
-==Example Code== +===== Example Code ===== 
-=== C Binding===+==== C Binding ====
 <code c> <code c>
 #define INCL_VIO #define INCL_VIO
Line 50: Line 54:
 </code> </code>
  
-===MASM Binding===+==== MASM Binding ====
 <code asm> <code asm>
 EXTRN  VioWrtNChar:FAR EXTRN  VioWrtNChar:FAR
Line 67: Line 71:
  
  
-====== Note ======+===== Note =====
  
 Text based on [[http://www.edm2.com/index.php/VioWrtNChar_(FAPI)]] Text based on [[http://www.edm2.com/index.php/VioWrtNChar_(FAPI)]]