CommonMessagePump.IOleComponent2Private.HwndGetWindow Method
Gets the associated window.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Private Function HwndGetWindow ( _
dwWhich As UInteger, _
dwReserved As UInteger _
) As IntPtr Implements IOleComponent2Private.HwndGetWindow
IntPtr IOleComponent2Private.HwndGetWindow(
uint dwWhich,
uint dwReserved
)
Parameters
- dwWhich
Type: System.UInt32
A value from _OLECWINDOW.
- dwReserved
Type: System.UInt32
Reserved.
Return Value
Type: System.IntPtr
Always returns Zero.
Implements
IOleComponent2Private.HwndGetWindow(UInt32, UInt32)
.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.