Gdi::GetTextMetricsW_I (Windows Embedded CE 6.0)
1/6/2010
This method fills the specified buffer with the metrics for the currently selected font.
Syntax
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 Value
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 Embedded CE does not necessarily match the text metric values in Windows-based desktop platforms.
Requirements
Header | gdi.hpp |
Windows Embedded CE | Windows CE .NET 4.0 and later |