IOleInPlaceSiteWindowless.GetCapture Method
Called by an in-place active, windowless object to determine if it still has the mouse capture or not.
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Function GetCapture As Integer
int GetCapture()
int GetCapture()
abstract GetCapture : unit -> int
function GetCapture() : int
Return Value
Type: Int32
S_OK
The object currently has the mouse capture.
S_FALSE
The object does not currently have the mouse capture.
Remarks
For information on the COM interface, see IOleInPlaceSiteWindowless::GetCapture
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.