Share via


Gdi::GetTextMetricsW_I (Windows CE 5.0)

Send Feedback

This method fills the specified buffer with the metrics for the currently selected font.

static WINGDIAPI BOOL WINAPI etTextMetricsW_I(HDC hdc,TEXTMETRIC* lptm);

Parameters

  • hdc
    [in] Handle to the device context.
  • lptm
    [out] Long pointer to the TEXTMETRIC structure that is to receive the metrics.

Return Values

Nonzero indicates success.

Zero indicates failure.

To get extended error information, call GetLastError.

Remarks

This method is an internal version of the GetTextMetrics function.

For any given font, the text metric values in Windows CE does not necessarily match the text metric values in Windows-based desktop platforms.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Gdi.hpp.

See Also

Gdi | GetTextMetrics | Gdi::GetTextFaceW_I | TEXTMETRIC

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.