IDWriteFontFace3::GetInformationalStrings method (dwrite_3.h)

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

Syntax

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

Parameters

[in] informationalStringID

Type: DWRITE_INFORMATIONAL_STRING_ID

A DWRITE_INFORMATIONAL_STRING_ID-typed value that identifies the strings to get.

[out] informationalStrings

Type: IDWriteLocalizedStrings**

A pointer to a memory block that receives a pointer to a IDWriteLocalizedStrings interface for the newly created localized strings object.

[out] exists

Type: BOOL*

A pointer to a variable that receives whether the font contains the specified string ID. TRUE if the font contains the specified string ID; otherwise, FALSE.

Return value

Type: HRESULT

If the font doesn't contain the specified string, the return value is S_OK, but informationalStrings receives a NULL pointer and exists receives the value FALSE.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header dwrite_3.h
Library Dwrite.lib
DLL Dwrite.dll

See also

IDWriteFontFace3