JCL Help:QueryTimer

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns information about a timer object.


Pascal

 function QueryTimer(Handle: THandle; var Info: TTimerInfo): Boolean;


Parameters

Parameters Description
Handle: THandle Handle of the timer object for which you want information.
var Info: TTimerInfo Received information about the timer. TTimerInfo is defined as: TTimerInfo = record Remaining: TLargeInteger; Signaled: LongBool; end; The following table describes the members of this record:


Return Value

If the function succeeds it returns True, otherwise it returns False. In the latter case the contents of the Info parameter are undefined.


Description

QueryTimer returns information about the timer object specified by Handle. The information is returned in a TTimerInfo record and contains members to indicate whether the timer is signaled or how much time remains until the timer becomes signaled.


About

Unit

JclSynch


Donator

Marcel van Brakel


Contributors

Anonymous


Notes

This function relies on undocumented information and uses an undocumented API call.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page