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

# EnumResTypeProc

Callback for resource type enumeration

## Declaration

Source position: resh.inc line 54

`type EnumResTypeProc = function(`
`ModuleHandle: TFPResourceHMODULE;`
`ResourceType: PChar;`
`lParam: PtrInt`
`):LongBool;`

## Description

EnumResTypeProc is used in the EnumResourceTypes call. It is called for all resources, and is passed the ModuleHandle, ResourceType values for each resource encountered. Additionally, the lParam parameter from the EnumResourceTypes is passed unaltered.

## See also

EnumResourceTypes |  | Enumerate available resource types
EnumResNameProc |  | Callback for resource name enumeration
EnumResLangProc |  | Callback for language resource enumeration

Documentation generated on: May 14 2021