CSLineCount Function
Description
Returns the number of lines in the Consoul window queue.
Syntax
VB/A 32bits
Private Declare Function CSLineCount Lib "consoul_010205_32.dll" ( _
ByVal hWnd As Long _
) As Integer
VB/A 64bits
Private Declare PtrSafe Function CSLineCount Lib "consoul_010205_64.dll" ( _
ByVal hWnd As LongPtr _
) As Integer
Return Value
The return value is the number of lines in the queue.
Parameters
hWnd
The window handle (HWND) of the Consoul window, as returned by CSCreateLogWindow.
Remarks
When the queue is full, this will be equal to CSGetQueueCapacity, and this will stay so, even if you continue pushing lines, until you pop out some lines with CSPopLines or clear the queue with CSClear.
Last updated: May 13 2022.