IOleComponent.HwndGetWindow(UInt32, UInt32) Method

Definition

Gets a window associated with the component.

public:
 IntPtr HwndGetWindow(System::UInt32 dwWhich, System::UInt32 dwReserved);
public IntPtr HwndGetWindow (uint dwWhich, uint dwReserved);
abstract member HwndGetWindow : uint32 * uint32 -> nativeint
Public Function HwndGetWindow (dwWhich As UInteger, dwReserved As UInteger) As IntPtr

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.

Applies to