System.SizeofResource

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

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

C++

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

プロパティ

種類 可視性 ソース ユニット
function external public
WindowsAPIs.INC
System.hpp
System System

説明

リソースのサイズをバイト数で返します。

SizeofResource は、リソースのサイズをバイト数で返します。処理が失敗した場合は 0 を返します。

関連項目