EnumResourceLanguages function
Enumerate available languages for a resource of given type and name.
Declaration
function EnumResourceLanguages(ModuleHandle: TFPResourceHMODULE;
ResourceType: PAnsiChar;
ResourceName: PAnsiChar;
EnumFunc: EnumResLangProc; lParam: PtrInt)
: LongBoolDescription
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
