次の方法で共有


CommonMessagePump.IOleComponent.HwndGetWindow(UInt32, UInt32) Method

Definition

Retrieves 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

Microsoft.Internal.VisualStudio.Shell.Interop.IOleComponent2Private.HwndGetWindow(System.UInt32,System.UInt32)

Applies to