System.SizeofResource

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function SizeofResource(ModuleHandle: HMODULE; ResHandle: TResourceHandle): Integer; stdcall;

C++

extern "C" int __stdcall SizeofResource(NativeUInt ModuleHandle, NativeUInt ResHandle);

Properties

Type Visibility Source Unit Parent
function external public
WindowsAPIs.INC
System.hpp
System System

Description

Returns the size of a resource, in bytes.

SizeofResource returns the size of a resource, in bytes, or 0 if it fails.

See Also