IVsIntellisenseHost.GetHostWindow(IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);