IOleComponent.HwndGetWindow Method
Gets a window associated with the component.
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Function HwndGetWindow ( _
dwWhich As UInteger, _
dwReserved As UInteger _
) As IntPtr
IntPtr HwndGetWindow(
uint dwWhich,
uint dwReserved
)
IntPtr HwndGetWindow(
[InAttribute] unsigned int dwWhich,
[InAttribute] unsigned int dwReserved
)
abstract HwndGetWindow :
dwWhich:uint32 *
dwReserved:uint32 -> IntPtr
function HwndGetWindow(
dwWhich : uint,
dwReserved : uint
) : IntPtr
Parameters
dwWhich
Type: System.UInt32A value from _OLECWINDOW.
dwReserved
Type: System.UInt32Reserved for future use. Should be 0.
Return Value
Type: System.IntPtr
The HWND, or nulla null reference (Nothing in Visual Basic) if no such window exists.
.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.