RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.EnumResourceModules Function

Executes a callback for all resource modules in an application.

Pascal
procedure EnumResourceModules(Func: TEnumModuleFunc; Data: Pointer); overload;
procedure EnumResourceModules(Func: TEnumModuleFuncLW; Data: Pointer); overload;
C++
EnumResourceModules(TEnumModuleFunc Func, void * Data);
EnumResourceModules(TEnumModuleFuncLW Func, void * Data);

System

EnumResourceModules executes the callback specified by the Func parameter for all of the instance handles associated with resources of the current program. The instance handle (HInstance) of each resource is passed to Func. EnumResourceModules continues until the last resource module in the application is enumerated, or until the callback returns false. The parameters to EnumResourceModules are as follows:

Parameter 
Meaning 
Func  
The procedure-instance address of the callback function.  
Data  
A 32-bit user-defined value that is passed to the callback function.  

 

EnumModules 

LibModuleList 

Hinstance

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!