Sign in Join
FPDoc Onlineexperiment

SizeofResource function

In unit System

Return the size of a particular resource.

Declaration

pascal
function SizeofResource(ModuleHandle: TFPResourceHMODULE; 
 ResHandle: TFPResourceHandle): LongWord

Description

SizeOfResource returns the size of the resource identified by ResHandle in module identified by ModuleHandle. ResHandle should be obtained from a call to LoadResource

Errors

In case of an error, 0 is returned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.