IVsSplitRoot.GetWindowHandle Method

Gets the window handle.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Function GetWindowHandle ( _
    <OutAttribute> ByRef phwnd As IntPtr _
) As Integer
int GetWindowHandle(
    out IntPtr phwnd
)
int GetWindowHandle(
    [OutAttribute] IntPtr% phwnd
)
abstract GetWindowHandle : 
        phwnd:IntPtr byref -> int
function GetWindowHandle(
    phwnd : IntPtr
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsSplitRoot::GetWindowHandle(
   [out] HWND *phwnd
);

.NET Framework Security

See Also

Reference

IVsSplitRoot Interface

Microsoft.VisualStudio.TextManager.Interop Namespace