LPtoDP

Syntax

BOOL LPtoDP(hDC,lpPoints,nCount)

This function converts logical points into device points. The LPtoDP function maps the coordinates of each point specified by the lpPoints parameter from GDI's logical coordinate system into a device coordinate system. The conversion depends on the current mapping mode.

Parameter Type/Description  

hDC HANDLE Identifies the device context.  
lpPoints LPPOINT Points to an array of points. Each point in the array is a POINT data structure.  
nCount int Specifies the number of points in the array.  

Return Value

The return value specifies whether or not all points are converted. It is nonzero if all points are converted. Otherwise, it is zero.