Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the window handle.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Function GetWindowHandle ( _
<OutAttribute> ByRef hwnd As IntPtr _
) As Integer
int GetWindowHandle(
out IntPtr hwnd
)
int GetWindowHandle(
[OutAttribute] IntPtr% hwnd
)
abstract GetWindowHandle :
hwnd:IntPtr byref -> int
function GetWindowHandle(
hwnd : IntPtr
) : int
Parameters
hwnd
Type: System.IntPtr%[out] The window handle.
Return Value
Type: System.Int32
Returns S_OK if the method is successful.
.NET Framework Security
- 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.