Partager via


OleComponent.HwndGetWindowCore(UInt32, UInt32) Method

Definition

Default implemmentation of HwndGetWindow. Simply raises the GetWindow event if there are listeners.

protected:
 virtual IntPtr HwndGetWindowCore(System::UInt32 dwWhich, System::UInt32 dwReserved);
protected virtual IntPtr HwndGetWindowCore (uint dwWhich, uint dwReserved);
abstract member HwndGetWindowCore : uint32 * uint32 -> nativeint
override this.HwndGetWindowCore : uint32 * uint32 -> nativeint
Protected Overridable Function HwndGetWindowCore (dwWhich As UInteger, dwReserved As UInteger) As IntPtr

Parameters

dwWhich
UInt32
dwReserved
UInt32

Returns

IntPtr

nativeint

If there are listeners to GetWindow we return the appropriate TRUE/FALSE value based on WindowHandle, otherwise we return Zero.

Applies to