get_window_extent


bool get_window_extent(handle device,
                       idimensions* extent)

This function obtains the extents of a window.

Parameters

handle device

The handle of the device context associated with the window.

idimensions* extent

A pointer to a structure that is updated to contain the window extents.

Return

bool

true The function succeeded.
false The call failed.

Notes

The window extents are returned in page space units.