Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Retrieves the set of system fonts.
Syntax
HRESULT GetSystemFontSet(
BOOL includeDownloadableFonts,
IDWriteFontSet1 **fontSet
);
Parameters
includeDownloadableFonts
Type: BOOL
true if you want to include downloadable fonts. false if you only want locally installed fonts.
fontSet
Type: IDWriteFontSet1**
The address of a pointer to an IDWriteFontSet1 interface. On successful completion, the function sets the pointer to the font set object, otherwise it sets the pointer to nullptr.
Return value
Type: HRESULT
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10 Build 16299 |
| Minimum supported server | Windows 10 Build 16299 |
| Target Platform | Windows |
| Header | dwrite_3.h |
| Library | Dwrite.lib |