Locate a resource and return a handle to it.
Source position: resh.inc line 70
function FindResource( |
ModuleHandle: TFPResourceHMODULE; |
ResourceName: PAnsiChar; |
ResourceType: PAnsiChar |
):TFPResourceHandle; |
ModuleHandle: TFPResourceHMODULE; |
const ResourceName: AnsiString; |
const ResourceType: AnsiString |
):TFPResourceHandle; |
ModuleHandle: TFPResourceHMODULE; |
const ResourceName: AnsiString; |
ResourceType: PAnsiChar |
):TFPResourceHandle; |
ModuleHandle: TFPResourceHMODULE; |
ResourceName: PAnsiChar; |
const ResourceType: AnsiString |
FindResource searches for a resource with name ResourceName and of type ResourceType in the executable or library identified by ModuleHandle. It returns a TResourceHandle which can be used to load the resource with LoadResource.
None. In case the resource was not found, 0 is returned.
|
Free a loaded resource. |
|
|
Load a resource for use. |
|
|
Return the size of a particular resource. |
|
|
Lock a resource. |
|
|
Unlock a previously locked resource. |
|
|
Free a loaded resource. |