JCL Help:GetModuleSymbolEx
JCL Help: GetModuleSymbolEx Function
Search in JCL Help
Search in all projects
Summary
Gives access to the exported symbol SymbolName from the loaded module Module.
Pascal
function GetModuleSymbolEx(Module: TModuleHandle; SymbolName: string; var Accu: Boolean): Pointer;
Parameters
Parameters | Description |
Module: TModuleHandle | Handle to the loaded module. |
SymbolName: string | Name of the exported symbol to access. |
var Accu: Boolean | Success accumulator to be updated. |
Return Value
The pointer to the exported symbol. Normally this is a "pointer to function" as C calls it. In Pascal its a function type. nil is returned for symbols not contained in the module and Accu will contain False.
Description
Gives access to the exported symbol SymbolName from the loaded module Module. Normally this is the name of an exported function. Accu is updated by "Accu := Accu and (Result <> nil);". This allows to call GetModuleSymbolEx for many symbols and render a global result for successfully accessing all symbols.
See Also
About
Unit
Donator
Robert Marquardt
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