BOOL GetTextMetrics(hDC,lpMetrics)
This function fills the buffer pointed to by the lpMetrics parameter with the metrics for the selected font.
| Parameter | Type/Description |
| hDC | HDC Identifies the device context. | |
| lpMetrics | LPTEXTMETRIC Points to the TEXTMETRIC data structure that is to receive the metrics. |
The return value specifies the outcome of the function. It is nonzero if the function is successful. Otherwise, it is zero.