Skip to content

EnumResourceLanguages

Enumerate available languages for a resource of given type and name

Declaration

Source position: resh.inc line 68

  function EnumResourceLanguages(ModuleHandle: TFPResourceHMODULE; 
                                ResourceType: PChar; ResourceName: PChar; 
                                EnumFunc: EnumResLangProc; lParam: PtrInt)
                                 : LongBool;

Description

EnumResourceLanguages enumerates the available languages for a resource of given ResourceName and type ResourceType in the module ModuleHandle. For each language available, it calls EnumFunc and passes it ModuleHandle, the type of the resource ResourceType, the name of the resource ResourceName, the language ID, 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
EnumResourceNames Enumerate available resource names for a specified resource type
EnumResourceTypes Enumerate available resource types