Udostępnij za pośrednictwem


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: System.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

See Also

Reference

IOleInPlaceSiteWindowless Interface

Microsoft.VisualStudio.OLE.Interop Namespace