Share via


IDWriteFont::GetInformationalStrings Method

Gets a localized strings collection containing the specified informational strings, indexed by locale name.

Syntax

virtual HRESULT GetInformationalStrings(
  DWRITE_INFORMATIONAL_STRING_ID informationalStringID,
  [out]  IDWriteLocalizedStrings **informationalStrings,
  [out]  BOOL * exists
) = 0;

Parameter

  • informationalStringID
    A value that identifies the informational string to get. For example, DWRITE_INFORMATIONAL_STRING_DESCRIPTION specifies a string that contains a description of the font.

  • informationalStrings [out]
    When this method returns, contains an address of a pointer to the newly created localized strings object.

  • exists [out]
    When this method returns, TRUE if the font contains the specified string ID; otherwise, FALSE.

Rückgabewert

Ist Methode erfolgreich, wird "S_OK" zurückgegeben. Andernfalls wird ein HRESULT-Fehlercode zurückgegeben.

Hinweise

If the font does not contain the string specified by informationalStringID, the return value is S_OK but informationalStrings receives a NULL pointer and exists receives the value FALSE.

Anforderungen

Mindestens unterstützter Client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista

Mindestens unterstützter Server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008

Header

Dwrite.h

Bibliothek

Dwrite.lib

DLL

Dwrite.dll

Siehe auch

IDWriteFont