Freigeben über


IVsSplitRoot.GetWindowHandle-Methode

Ruft das Fensterhandle ab.

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

Parameter

  • phwnd
    Typ: IntPtr%

    [out] Das Fensterhandle.

Rückgabewert

Typ: Int32
Wenn die Methode erfolgreich ausgeführt, gibt sie S_OKzurück.Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Von textmgr.idl:

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

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsSplitRoot Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace