ファイルのサイズを取得します。
構文
HRESULT GetFileSize(
[out] UINT64 *pVal
);
パラメーター
[out] pVal
ファイルのサイズです (バイト単位)。
戻り値
メソッドは、次の戻り値を返します。
| リターン コード | 説明 |
|---|---|
|
Success |
要件
| サポートされている最小のクライアント | Windows Vista |
| サポートされている最小のサーバー | Windows Server 2008 |
| 対象プラットフォーム | Windows |
| ヘッダー | bits3_0.h (Bits.h を含む) |
| Library | Bits.lib |