System.SizeofResource
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 を返します。