IOleInPlaceSiteWindowless::GetCapture method

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

Syntax


HRESULT GetCapture();

Parameters

This method has no parameters.

Return value

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

Return codeDescription
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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IOleInPlaceSiteWindowless is defined as 922EADA0-3424-11CF-B670-00AA004CD6D8

See also

IOleInPlaceSiteWindowless

 

 

Show: