EE_VIEW_TO_DEV

Converts the display coordinates of a specified position to the device (client) coordinates. You can send this message explicitly or use the Editor_ViewToDev inline function.

EE_VIEW_TO_DEV
wParam = (WPARAM) (POINT_PTR*) pptView;
lParam = (LPARAM) (POINT_PTR*) pptDev;

Parameters

pptView

Pointer to a POINT_PTR structure that specifies the display coordinates to be converted.

pptDev

Pointer to a POINT_PTR structure to receive the converted device coordinates. The x or y value of this structure might become LONG_PTR_MIN or LONG_PTR_MAX the specified position is invalid or the specified position is far from the screen rectangle.

Return Values

The return value is not used.