Partager via


IVsIntellisenseHost.GetHostWindow(IntPtr) Method

Definition

Returns a handle to the host window.

public:
 int GetHostWindow([Runtime::InteropServices::Out] IntPtr % hwnd);
public int GetHostWindow (out IntPtr hwnd);
abstract member GetHostWindow : nativeint -> int
Public Function GetHostWindow (ByRef hwnd As IntPtr) As Integer

Parameters

hwnd
IntPtr

nativeint

[out] Handle to the host window.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

C++

From singlefileeditor.idl:

HRESULT IVsIntellisenseHost::GetHostWindow([out] HWND *hwnd);

Applies to