help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

FreeResource

Free a loaded resource

Declaration

Source position: resh.inc line 43

function FreeResource(

  ResData: HGLOBAL

):LongBool;

Description

FreeResource unloads the resource identified by ResData from memory. The resource must have been loaded by LoadResource. It returns True if the operation was succesful, False otherwise.

Errors

On error, False is returned.

See also

FindResource

  

Locate a resource and return a handle to it.

LoadResource

  

Load a resource for use

SizeofResource

  

Return the size of a particular resource

LockResource

  

Lock a resource

UnlockResource

  

Unlock a previously locked resource

FreeResource

  

Free a loaded resource

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505