IOleComponent::HwndGetWindow Method (UInt32, UInt32)

 

Gets a window associated with the component.

Namespace:   Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

IntPtr HwndGetWindow(
	unsigned int dwWhich,
	unsigned int dwReserved
)

Parameters

dwWhich
Type: System::UInt32

A value from _OLECWINDOW.

dwReserved
Type: System::UInt32

Reserved for future use. Should be 0.

Return Value

Type: System::IntPtr

The HWND, or null if no such window exists.

Return to top
Show: