System.TEnumModuleFuncLW

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TEnumModuleFuncLW = function (HInstance: THandle; Data: Pointer): Boolean;

C++

typedef bool __fastcall (*TEnumModuleFuncLW)(NativeUInt HInstance, void * Data);

Properties

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

Description

TEnumModuleFuncLW is the type of the callback function used in module enumeration.

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

The parameters to TEnumModuleFuncLW are listed in the following table.



Parameter Meaning

HInstance

The instance handle of the module being enumerated (as a long word).

Data

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



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

See Also