共用方式為


IVsSplitRoot.GetWindowHandle(IntPtr) Method

Definition

Gets the window handle.

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

Parameters

phwnd
IntPtr

nativeint

[out] The window handle.

Returns

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  
);  

Applies to