GetFileSizeFromContext function (filehc.h)

Reports the file size cached with the handle.

Syntax

FILEHC_EXPORT DWORD GetFileSizeFromContext(
  [in]  FIO_CONTEXT *pContext,
  [out] DWORD       *pcbFileSizeHigh
);

Parameters

[in] pContext

A pointer to the FIO_CONTEXT structure that is associated with the file.

[out] pcbFileSizeHigh

A pointer to the byte count of the file.

Return value

Returns the size of the file in bytes.

Requirements

Requirement Value
Target Platform Windows
Header filehc.h
Library Fcachdll.lib
DLL Fcachdll.dll

See also

FIO_CONTEXT