Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Obtains the absolute font file path from the font file reference key.
Syntax
HRESULT GetFilePathFromKey(
[in] void const *fontFileReferenceKey,
UINT32 fontFileReferenceKeySize,
[out] WCHAR *filePath,
UINT32 filePathSize
);
Parameters
[in] fontFileReferenceKey
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.
[out] filePath
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
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | dwrite.h |
| Library | Dwrite.lib |
| DLL | Dwrite.dll |