IDWriteFontFileEnumerator::GetCurrentFontFile-Methode (dwrite.h)
Ruft einen Verweis auf die aktuelle Schriftartdatei ab.
Syntax
HRESULT GetCurrentFontFile(
[out] IDWriteFontFile **fontFile
);
Parameter
[out] fontFile
Typ: IDWriteFontFile**
Wenn diese Methode zurückgegeben wird, wird die Adresse eines Zeigers auf das neu erstellte IDWriteFontFile-Objekt angezeigt.
Rückgabewert
Typ: HRESULT
Wenn diese Methode erfolgreich ist, gibt sie S_OK zurück. Andernfalls wird ein HRESULT-Fehlercode zurückgegeben.
Anforderungen
Unterstützte Mindestversion (Client) | Windows 7, Windows Vista mit SP2 und Plattformupdate für Windows Vista [Desktop-Apps | UWP-Apps] |
Unterstützte Mindestversion (Server) | Windows Server 2008 R2, Windows Server 2008 mit SP2 und Plattformupdate für Windows Server 2008 [Desktop-Apps | UWP-Apps] |
Zielplattform | Windows |
Kopfzeile | dwrite.h |
Bibliothek | Dwrite.lib |
DLL | Dwrite.dll |