get_current_position


bool get_current_position(handle device,
                          point* position)

This function obtains the current position.

Parameters

handle device

The handle of the device context.

point* position

A pointer to a point that is updated to contain the current position in the device context.

Return

bool

true The function succeeded.
false The call failed.

Notes

The coordinates held in the returned point are logical coordinates.