no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Next revision | |||
— | en:docs:fapi:vioscrolllf [2018/09/01 08:16] – created prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | This call scrolls the entire display buffer (or area specified within the display buffer) to the left. | ||
+ | |||
+ | ==Syntax== | ||
+ | | ||
+ | |||
+ | ==Parameters== | ||
+ | ;TopRow (USHORT) - input : Top row to be scrolled. | ||
+ | ;LeftCol (USHORT) - input : Left column to be scrolled. | ||
+ | ;BotRow (USHORT) - input : Bottom row 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. | ||
+ | ;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, | ||
+ | |||
+ | ==Return Code== | ||
+ | rc (USHORT) - return | ||
+ | Return code descriptions are: | ||
+ | * 0 | ||
+ | * 355 | ||
+ | * 358 | ||
+ | * 359 | ||
+ | * 436 | ||
+ | * 465 | ||
+ | |||
+ | ==Remarks== | ||
+ | TopRow = 0 and LeftCol = 0 identifies the top left corner of the screen. | ||
+ | |||
+ | If a value greater than the maximum value is specified for TopRow, LeftCol, BotRow, RightCol, or Lines, the maximum value for that parameter is used. | ||
+ | |||
+ | 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== | ||
+ | === C Binding=== | ||
+ | <PRE> | ||
+ | #define INCL_VIO | ||
+ | |||
+ | USHORT | ||
+ | | ||
+ | |||
+ | USHORT | ||
+ | USHORT | ||
+ | USHORT | ||
+ | USHORT | ||
+ | USHORT | ||
+ | PBYTE Cell; /* Cell to be written */ | ||
+ | HVIO | ||
+ | |||
+ | USHORT | ||
+ | </ | ||
+ | |||
+ | ===MASM Binding=== | ||
+ | <PRE> | ||
+ | EXTRN VioScrollLf: | ||
+ | INCL_VIO | ||
+ | |||
+ | PUSH | ||
+ | PUSH | ||
+ | PUSH | ||
+ | PUSH | ||
+ | PUSH | ||
+ | PUSH@ OTHER | ||
+ | PUSH | ||
+ | CALL | ||
+ | |||
+ | Returns WORD | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ====== Note ====== | ||
+ | |||
+ | Text based on [[http:// | ||
+ | |||
+ | {{page> | ||
+ | |||
+ | |||