System.FindResource
Delphi
function FindResource(ModuleHandle: HMODULE; ResourceName, ResourceType: PChar): TResourceHandle; stdcall;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | external public | WindowsAPIs.INC | System | System |
Description
Locates a resource in a module.
FindResource locates a resource by its type and name in a specific module. The return value is a handle to the resource's information block. To get a handle to the resource, call LoadResource with this handle.