Partager via


IOleComponent2Private Interface

The following interface is implemented here to fix a problem in the Interop.9.0 definition where the marshalling for GetWaitHandlesAndTimeout has an extra level of indirection on the handles argument which results in INVALID_HANDLE_VALUE errors in the message loop. Interop.9.0 decided not to fix this and thus we have IOleComponent2 defined here. All the methods with 'new' are required to keep the vtables aligned

This API is not CLS-compliant. 

Namespace:  Microsoft.Internal.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
<GuidAttribute("ED0751FC-D772-4D1D-88FC-0C1AA275391B")> _
<CLSCompliantAttribute(False)> _
<InterfaceTypeAttribute()> _
Public Interface IOleComponent2Private _
    Inherits IOleComponent
'Utilisation
Dim instance As IOleComponent2Private
[GuidAttribute("ED0751FC-D772-4D1D-88FC-0C1AA275391B")]
[CLSCompliantAttribute(false)]
[InterfaceTypeAttribute()]
public interface IOleComponent2Private : IOleComponent
[GuidAttribute(L"ED0751FC-D772-4D1D-88FC-0C1AA275391B")]
[CLSCompliantAttribute(false)]
[InterfaceTypeAttribute()]
public interface class IOleComponent2Private : IOleComponent
[<GuidAttribute("ED0751FC-D772-4D1D-88FC-0C1AA275391B")>]
[<CLSCompliantAttribute(false)>]
[<InterfaceTypeAttribute()>]
type IOleComponent2Private =  
    interface
        interface IOleComponent
    end
public interface IOleComponent2Private extends IOleComponent

See Also

Reference

IOleComponent2Private Members

Microsoft.Internal.VisualStudio.Shell.Interop Namespace