get_current_object


handle get_current_object(handle device,
                          unsigned type)

This function obtains a handle of the currently selected graphics object of a given type.

Parameters

handle device

The handle of the device context.

unsigned type

The type of object being queried. One of the following values may be specified.

Return

handle

null An error occurred.
Other The handle of the object.