IDWriteRemoteFontFileStream::GetLocalFileSize method (dwrite_3.h)

GetLocalFileSize returns the number of bytes of the font file that are currently local, which should always be less than or equal to the full file size returned by GetFileSize. If the locality is remote, the return value is zero. If the file is fully local, the return value must be the same as GetFileSize.

Syntax

HRESULT GetLocalFileSize(
  [out] UINT64 *localFileSize
);

Parameters

[out] localFileSize

Type: UINT64*

Receives the local size of the file.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

Requirement Value
Target Platform Windows
Header dwrite_3.h
Library Dwrite.lib

See also

IDWriteRemoteFontFileStream