IDWriteFontSet1::GetFirstFontResources method (dwrite_3.h)
Retrieves a new font set that contains only the first occurrence of each font resource from the set.
Syntax
HRESULT GetFirstFontResources(
[out] IDWriteFontSet1 **filteredFontSet
);
Parameters
[out] filteredFontSet
Type: IDWriteFontSet1**
The address of a pointer to an IDWriteFontSet1 interface. On successful completion, the function sets the pointer to a new font set object consisting of single default instances from font resources, 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 20348 |
Minimum supported server | Windows 10 Build 20348 |
Target Platform | Windows |
Header | dwrite_3.h |
Library | Dwrite.lib |