Partager via


SingleTaskIdleManager.IOleComponent.HwndGetWindow(UInt32, UInt32) Method

Definition

Gets a window associated with the component.

 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

A value from _OLECWINDOW.

dwReserved
UInt32

Reserved for future use. Should be 0.

Returns

IntPtr

nativeint

The HWND, or null if no such window exists.

Implements

Applies to