CommonMessagePump.IOleComponent.HwndGetWindow(UInt32, UInt32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索与组件关联的窗口。
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
参数
- dwWhich
- UInt32
中的一个值 _OLECWINDOW 。
- dwReserved
- UInt32
留待将来使用。 应为0。
返回
-
IntPtr
nativeint
HWND, null 如果不存在这样的窗口,则为。
实现
Microsoft.Internal.VisualStudio.Shell.Interop.IOleComponent2Private.HwndGetWindow(System.UInt32,System.UInt32)