# IOleInPlaceSiteWindowless::GetCapture

Called by an in-place active, windowless object to determine if it still has the mouse capture or not.

HRESULT GetCapture(void);

Return Values

S_OK
  The object currently has the mouse capture.
S_FALSE
  The object does not currently have the mouse capture.

Remarks

As an alternative to calling this method, the object can cache information about whether it has the mouse capture or not.