System.FindResource

From RAD Studio API Documentation
Revision as of 23:46, 16 October 2011 by PyBot (talk | contribs) (Scoping Libraries)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

See Also