IDWriteTextFormat::GetLocaleName Method

Gets a copy of the locale name.

Syntax

virtual HRESULT GetLocaleName(
  [out]  WCHAR * localeName,
  UINT32  nameSize
) = 0;

Parameter

  • localeName [out]
    Contains a character array that receives the current locale name.

  • nameSize
    The size of the character array, in character count, including the terminated NULL character. Use GetLocaleNameLength to get the size of the locale name character array.

Rückgabewert

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

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

IDWriteTextFormat