High Precision Counter support with deactivation.

Namespace: ExpSuite
Assembly: FrameWork (in FrameWork.exe) Version: 1.0.0.0

Syntax

Visual Basic
Public Shared Function WaitSleepHP ( _
	ByRef curStart As Long, _
	lDelay As Integer _
) As Boolean

Parameters

curStart
Type: System..::..Int64%
ld value of HP counter, WaitHP updates curStart to the new.
lDelay
Type: System..::..Int32
Optional delay in ms. If not given, WaitHP returns immediatly updating curStart only.

Return Value

Boolean. Canceled or not.

Remarks

WaitHP returns with the current value of the High Precision (HP) counter of Windows and/or waits a given delay lDelay.
Cancel button on the main window or HUI/Keyboard cancel the waiting. Additional, the thread will be deactivated while waiting.

See Also