다음을 통해 공유


IMLangFontLink2::GetFontUnicodeRanges (Windows CE 5.0)

Send Feedback

This method retrieves information about which Unicode characters are supported by a font.

HRESULTGetFontUnicodeRanges(HDChDC,UINT* puiRanges,UNICODERANGE* pUranges);

Parameters

  • hDC
    [in] Handle to the device context.
  • puiRanges
    [in, out] Pointer to an unsigned integer value that specifies the number of elements in the array pointed to by the pUranges parameter.
  • pUranges
    [out] Pointer to the UNICODERANGE structure that contains the Unicode range information. If this parameter is NULL, the function returns the number of font Unicode ranges in the value pointed to by the puiRanges parameter.

Return Values

Returns S_OK if successful or E_FAIL otherwise.

Remarks

This method returns S_OK if puiRanges is not NULL and it returns a pointer to the font's UNICODERANGE structure. If puiRanges is NULL, this method returns S_OK if the method returns the number of font Unicode ranges in puiRanges.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Mlang.h, Mlang.idl.
Link Library: Mlang.dll.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.