[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 59

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 availanle, 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: Nov 14 2015