OleComponent.IOleComponent.HwndGetWindow(UInt32, UInt32) Method

Definition

Called to retrieve a window associated with the component, as specified by dwWhich which maps to a value in WindowType. Simply calls through to HwndGetWindowCore(UInt32, UInt32).

 virtual IntPtr Microsoft.VisualStudio.OLE.Interop.IOleComponent.HwndGetWindow(System::UInt32 dwWhich, System::UInt32 dwReserved) = Microsoft::VisualStudio::OLE::Interop::IOleComponent::HwndGetWindow;
IntPtr IOleComponent.HwndGetWindow (uint dwWhich, uint dwReserved);
abstract member Microsoft.VisualStudio.OLE.Interop.IOleComponent.HwndGetWindow : uint32 * uint32 -> nativeint
override this.Microsoft.VisualStudio.OLE.Interop.IOleComponent.HwndGetWindow : uint32 * uint32 -> nativeint
Function HwndGetWindow (dwWhich As UInteger, dwReserved As UInteger) As IntPtr Implements IOleComponent.HwndGetWindow

Parameters

dwWhich
UInt32

The type of window to retrieve, maps directly to a value in WindowType.

dwReserved
UInt32

Reserved for future use and should be zero

Returns

IntPtr

nativeint

The desired window or Zero if no such window exists.

Implements

Applies to