Gets the base window handle for the data tip.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function GetBaseWindowHandle ( _
<OutAttribute> ByRef phwnd As IntPtr _
) As Integer
'使用
Dim instance As IVsEnhancedDataTip
Dim phwnd As IntPtr
Dim returnValue As Integer
returnValue = instance.GetBaseWindowHandle(phwnd)
int GetBaseWindowHandle(
out IntPtr phwnd
)
int GetBaseWindowHandle(
[OutAttribute] IntPtr% phwnd
)
function GetBaseWindowHandle(
phwnd : IntPtr
) : int
Parameters
phwnd
Type: System.IntPtr%[out] Pointer to the Window handle, an HWND value.
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 vsshell80.idl:
HRESULT IVsEnhancedDataTip::GetBaseWindowHandle(
[out] HWND* phwnd
);
Permissions
- 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.