IDWriteRemoteFontFileLoader::GetLocalityFromKey method (dwrite_3.h)

Gets the locality of the file resource identified by the unique key.

Syntax

HRESULT GetLocalityFromKey(
  [in]  void const      *fontFileReferenceKey,
        UINT32          fontFileReferenceKeySize,
  [out] DWRITE_LOCALITY *locality
);

Parameters

[in] fontFileReferenceKey

Type: void

Font file reference key that uniquely identifies the font file resource within the scope of the font loader being used.

fontFileReferenceKeySize

Type: UINT32

Size of font file reference key in bytes.

[out] locality

Type: DWRITE_LOCALITY*

Locality of the file.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

   
Target Platform Windows
Header dwrite_3.h
Library Dwrite.lib

See also

IDWriteRemoteFontFileLoader