Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDWriteLocalFontFileLoader::GetFilePathFromKey method

Obtains the absolute font file path from the font file reference key.

Syntax


virtual HRESULT GetFilePathFromKey(
  [in]  const void   *fontFileReferenceKey,
              UINT32 fontFileReferenceKeySize,
  [out]       WCHAR  *filePath,
              UINT32 filePathSize
) = 0;

Parameters

fontFileReferenceKey [in]

Type: const void*

The font file reference key that uniquely identifies the local font file within the scope of the font loader being used.

fontFileReferenceKeySize

Type: UINT32

The size of font file reference key in bytes.

filePath [out]

Type: WCHAR*

The character array that receives the local file path.

filePathSize

Type: UINT32

The length of the file path character array.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Library

Dwrite.lib

DLL

Dwrite.dll

See also

IDWriteLocalFontFileLoader

 

 

Show:
© 2018 Microsoft