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::GetFilePathLengthFromKey method

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

Syntax


HRESULT GetFilePathLengthFromKey(
  [in]   const void *fontFileReferenceKey,
  UINT32 fontFileReferenceKeySize,
  [out]  UINT32 *filePathLength
);

Parameters

fontFileReferenceKey [in]

Type: const void*

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

fontFileReferenceKeySize

Type: UINT32

Size of font file reference key in bytes.

filePathLength [out]

Type: UINT32*

Length of the file path string, not including the terminated NULL character.

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

 

 

Community Additions

Show:
© 2014 Microsoft