This function draws a line from the current position up to, but not including, the specified point.
WINGDIAPI BOOL WINAPI LineTo( HDC hdc, int nXEnd, int nYEnd );
A non-zero value indicates success.
Zero indicates failure.
To get extended error information, call GetLastError.
LineTo draws the line by using the current pen.
If LineTo succeeds, LineTo sets the current position to the specified endpoint.
If hdc specifies a mirrored device context, the horizontal coordinates increase from right-to-left rather than from left-to-right.
For information about blitting to displays with right-to-left orientations, see Creating Bitmaps.