Partager via


OleComponent.IOleComponent.HwndGetWindow Method

Microsoft internal use only.

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

Syntax

'Declaration
Private Function HwndGetWindow ( _
    dwWhich As UInteger, _
    dwReserved As UInteger _
) As IntPtr Implements IOleComponent.HwndGetWindow
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

  • dwWhich
    Type: UInt32

    The type of window to retrieve, maps directly to a value in WindowType.

  • dwReserved
    Type: UInt32

    Reserved for future use and should be zero

Return Value

Type: IntPtr

Implements

IOleComponent.HwndGetWindow(UInt32, UInt32)

.NET Framework Security

See Also

Reference

OleComponent Class

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace