IDWriteRemoteFontFileStream::GetFileFragmentLocality method (dwrite_3.h)
Returns information about the locality of a byte range (i.e., font fragment) within the font file stream.
Syntax
HRESULT GetFileFragmentLocality(
UINT64 fileOffset,
UINT64 fragmentSize,
[out] BOOL *isLocal,
UINT64 *partialSize
);
Parameters
fileOffset
Type: UINT64
Offset of the fragment from the beginning of the font file.
fragmentSize
Type: UINT64
Size of the fragment in bytes.
[out] isLocal
Type: BOOL*
Receives TRUE if the first byte of the fragment is local, FALSE if not.
partialSize
Type: UINT64*
Receives the number of contiguous bytes from the start of the fragment that have the same locality as the first byte.
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 |