CSResetAllLines Function

Description

Use in virtual mode. This resets all the lines in the queue to a NULL value, which means that Consoul will call back the host to get the content offor each line as it becomes visible.

Syntax

VB/A 32bits

Private Declare Function CSResetAllLines Lib "consoul_010205_32.dll" ( _
  ByVal hWnd As Long _
) As Integer

VB/A 64bits

Private Declare PtrSafe Function CSResetAllLines Lib "consoul_010205_64.dll" ( _
  ByVal hWnd As LongPtr _
) As Integer

Return Value

The return value is 1 (one) if the lines are reset, or 0 (zero) if hWnd is not a Consoul window handle.

Parameters

hWnd

A valid Consoul window handle.

Remarks

If you're operating the console in standard mode (ie not virtual), you should not use this function, but use CSClear instead.

Last updated: May 13 2022.