System.EnumResourceModules

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure EnumResourceModules(Func: TEnumModuleFunc; Data: Pointer);
procedure EnumResourceModules(Func: TEnumModuleFuncLW; Data: Pointer);

C++

extern DELPHI_PACKAGE void __fastcall EnumResourceModules(TEnumModuleFunc Func, void * Data)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.pas
System.hpp
System System

Description

Executes a callback for all resource modules in an application.

EnumResourceModules executes the callback specified by the Func parameter for all 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 listed in the following table.



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.



See Also