JCL Help:QueryCriticalSection

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns information about a critical section object.


Pascal

 function QueryCriticalSection(CS: TJclCriticalSection; var Info: TRTLCriticalSection): Boolean;


Parameters

Parameters Description
CS: TJclCriticalSection The critical section object about which to return information.
var Info: TRTLCriticalSection Receives information about the critical section. See Windows.pas for the declaration of this record, most fields are self-explanatory.


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

QueryCriticalSection returns information about the critical section object specified by CS. The function returns a TRTLCriticalSection record which is defined in Windows.pas.


About

Unit

JclSynch


Donator

Marcel van Brakel


Notes

This function relies on undocumented information.


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