IDWriteFontFileStream.GetFileSize

<summary> Obtains the total size of a file. </summary> <param name="fileSize">Receives the total size of the file.</param> <returns> Standard HRESULT error code. </returns> <remarks> Implementing GetFileSize() for asynchronously loaded font files may require downloading the complete file contents, therefore this method should only be used for operations that either require complete font file to be loaded (e.g., copying a font file) or need to make decisions based on the value of the file size (e.g., validation against a persisted file size). </remarks>

interface IDWriteFontFileStream
extern (Windows)
HRESULT
GetFileSize
(
UINT64* fileSize
)

Meta