IOleInPlaceSiteWindowless::GetCapture method (ocidl.h)

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

Syntax

HRESULT GetCapture();

Return value

This method returns S_OK on success. Other possible return values include the following.

Return code Description
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.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ocidl.h

See also

IOleInPlaceSiteWindowless