EnumResourceNames function
Enumerate available resource names for a specified resource type.
Declaration
function EnumResourceNames(ModuleHandle: TFPResourceHMODULE;
ResourceType: PAnsiChar;
EnumFunc: EnumResNameProc; lParam: PtrInt)
: LongBoolDescription
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
