IOleComponent.HwndGetWindow(UInt32, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.