High Precision Counter support with deactivation.

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


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


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

Return Value

Boolean. Canceled or not.


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