From RAD Studio API Documentation
Jump to: navigation, search


typedef bool __fastcall (*TEnumModuleFunc)(NativeInt HInstance, void * Data);


Type Visibility Source Unit Parent
typedef public System.hpp System System


Is the type of the callback function used in module enumeration.

TEnumModuleFunc is the type of a user-defined callback function passed as a parameter to the EnumModules and EnumResourceModules procedures. TEnumModuleFunc receives an instance handle and a user-defined data value for every module enumerated.

The parameters to TEnumModuleFunc are listed in the following table.

Parameter Meaning


The instance handle of the module being enumerated.


A 32-bit user-defined value passed to the enumeration procedure.

To continue enumerating modules, TEnumModuleFunc must return True; to stop enumerating modules, it must return False.

See Also