Partager via


OleComponent.IOleComponent.HwndGetWindow Method

Called to retrieve a window associated with the component, as specified by dwWhich which maps to a value in WindowType. Simply calls through to HwndGetWindowCore.

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Private Function HwndGetWindow ( _
    dwWhich As UInteger, _
    dwReserved As UInteger _
) As IntPtr Implements IOleComponent.HwndGetWindow
'Utilisation
Dim instance As OleComponent
Dim dwWhich As UInteger
Dim dwReserved As UInteger
Dim returnValue As IntPtr

returnValue = CType(instance, IOleComponent).HwndGetWindow(dwWhich, _
    dwReserved)
IntPtr IOleComponent.HwndGetWindow(
    uint dwWhich,
    uint dwReserved
)
private:
virtual IntPtr HwndGetWindow(
    unsigned int dwWhich, 
    unsigned int dwReserved
) sealed = IOleComponent::HwndGetWindow
private abstract HwndGetWindow : 
        dwWhich:uint32 * 
        dwReserved:uint32 -> IntPtr 
private override HwndGetWindow : 
        dwWhich:uint32 * 
        dwReserved:uint32 -> IntPtr 
JScript does not support explicit interface implementations.

Parameters

  • dwReserved
    Type: System.UInt32
    Reserved for future use and should be zero

Return Value

Type: System.IntPtr

Implements

IOleComponent.HwndGetWindow(UInt32, UInt32)

.NET Framework Security

See Also

Reference

OleComponent Class

OleComponent Members

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace