[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

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

EnumResourceTypes

  

Enumerate available resource types

EnumResourceNames

  

Enumerate available resource names for a specified resource type

EnumResourceLanguages

  

Enumerate available languages for a resource of given type and name


Documentation generated on: Jun 23 2021