EnumResourceNames

Enumerate available resource names for a specified resource type

Declaration

Source position: resh.inc line 67

  function EnumResourceNames(ModuleHandle: TFPResourceHMODULE; 
                            ResourceType: PChar; 
                            EnumFunc: EnumResNameProc; lParam: PtrInt)
                             : LongBool;

Description

EnumResourceNames enumerates the names of all resources of type ResourceType in the module ModuleHandle. For each resource available it calls EnumFunc and passes it ModuleHandle, the type of the resource ResourceType, the name of the resource, and lParam. It returns False if no resources are available for the specified resource type and module, or True if there are resources available.

Errors

None.

See also

Name Description
EnumResourceLanguages Enumerate available languages for a resource of given type and name
EnumResourceTypes Enumerate available resource types