JCL Help:QueryEvent

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns information about an event object.


Pascal

 function QueryEvent(Handle: THandle; var Info: TEventInfo): Boolean;


Parameters

Parameters Description
Handle: THandle Handle of the event object for which you want information.
var Info: TEventInfo Received information about the event. TEventInfo is defined as: TEventInfo = record EventType: Longint; 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

QueryEvent returns information about the event object specified by Handle. The information is returned in a TEventInfo record and contains members to indicate the kind of event and whether it is 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