en:docs:fapi:vioscrolllf

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:vioscrolllf [2021/08/20 08:10] prokusheven:docs:fapi:vioscrolllf [2021/09/19 02:49] (current) prokushev
Line 1: Line 1:
 {{page>en:templates:fapiint}} {{page>en:templates:fapiint}}
 +====== VioScrollLf ====== 
 + 
 This call scrolls the entire display buffer (or area specified within the display buffer) to the left. This call scrolls the entire display buffer (or area specified within the display buffer) to the left.
  
-==Syntax==+===== Syntax ===== 
 +<code c>
  VioScrollLf (TopRow, LeftCol, BotRow, RightCol, Lines, Cell, VioHandle)  VioScrollLf (TopRow, LeftCol, BotRow, RightCol, Lines, Cell, VioHandle)
 +</code>
 +===== Parameters =====
  
-==Parameters== +  * TopRow ([[USHORT]]) - input : Top row to be scrolled. 
-;TopRow (USHORT) - input : Top row to be scrolled. +  LeftCol ([[USHORT]]) - input : Left column to be scrolled. 
-;LeftCol (USHORT) - input : Left column to be scrolled. +  BotRow ([[USHORT]]) - input : Bottom row to be scrolled. 
-;BotRow (USHORT) - input : Bottom row to be scrolled. +  RightCol ([[USHORT]]) - input : Right column to be scrolled. 
-;RightCol (USHORT) - input : Right column to be scrolled. +  Lines ([[USHORT]]) - input : Number of columns to be inserted at the right of the screen area being scrolled. If 0 is specified, no lines are scrolled. 
-;Lines (USHORT) - input : Number of columns to be inserted at the right of the screen area being scrolled. If 0 is specified, no lines are scrolled. +  Cell ([[PBYTE]]) - input : Address of the character attribute(s) pair (2 or 4 bytes) used as a fill character on inserted columns. 
-;Cell (PBYTE) - input : Address of the character attribute(s) pair (2 or 4 bytes) used as a fill character on inserted columns. +  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== 
- rc (USHORT) - return 
 Return code descriptions are: Return code descriptions are:
-* 0     NO_ERROR  
-* 355   ERROR_VIO_MODE  
-* 358   ERROR_VIO_ROW  
-* 359   ERROR_VIO_COL  
-* 436   ERROR_VIO_INVALID_HANDLE  
-* 465   ERROR_VIO_DETACHED 
  
-==Remarks==+  * 0     NO_ERROR  
 +  * 355   ERROR_VIO_MODE  
 +  * 358   ERROR_VIO_ROW  
 +  * 359   ERROR_VIO_COL  
 +  * 436   ERROR_VIO_INVALID_HANDLE  
 +  * 465   ERROR_VIO_DETACHED 
 + 
 +===== Remarks ===== 
 TopRow = 0 and LeftCol = 0 identifies the top left corner of the screen. TopRow = 0 and LeftCol = 0 identifies the top left corner of the screen.
  
Line 32: Line 39:
 If TopRow and LeftCol = 0 and if BotRow, RightCol, and Lines = 65535 (or -1 in assembler language), the entire screen is filled with the character-attribute pair defined by Cell.  If TopRow and LeftCol = 0 and if BotRow, RightCol, and Lines = 65535 (or -1 in assembler language), the entire screen is filled with the character-attribute pair defined by Cell. 
  
-==Example Code== +===== Bindings ===== 
-=== C Binding=== + 
-<PRE>+==== C Binding==== 
 +<code c>
 #define INCL_VIO #define INCL_VIO
  
Line 49: Line 57:
  
 USHORT           rc;            /* return code */ USHORT           rc;            /* return code */
-</PRE>+</code>
  
-===MASM Binding=== +====MASM Binding==== 
-<PRE>+<code asm>
 EXTRN  VioScrollLf:FAR EXTRN  VioScrollLf:FAR
 INCL_VIO            EQU 1 INCL_VIO            EQU 1
Line 66: Line 74:
  
 Returns WORD Returns WORD
-</PRE> +</code>
- +
  
-====== Note ======+===== Note =====
  
 Text based on [[http://www.edm2.com/index.php/VioScrollLf]] Text based on [[http://www.edm2.com/index.php/VioScrollLf]]