IDWriteFontFileStream.ReadFileFragment

<summary> Reads a fragment from a file. </summary> <param name="fragmentStart">Receives the pointer to the start of the font file fragment.</param> <param name="fileOffset">Offset of the fragment from the beginning of the font file.</param> <param name="fragmentSize">Size of the fragment in bytes.</param> <param name="fragmentContext">The client defined context to be passed to the ReleaseFileFragment.</param> <returns> Standard HRESULT error code. </returns> <remarks> IMPORTANT: ReadFileFragment() implementations must check whether the requested file fragment is within the file bounds. Otherwise, an error should be returned from ReadFileFragment. </remarks>

interface IDWriteFontFileStream
extern (Windows)
HRESULT
ReadFileFragment
(
const(void**) fragmentStart
,
UINT64 fileOffset
,,
)

Meta