Share via


IMarshal2.MarshalInterface Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
Sub MarshalInterface ( _
    pstm As IStream, _
    ByRef riid As Guid, _
    pv As IntPtr, _
    dwDestContext As UInteger, _
    pvDestContext As IntPtr, _
    MSHLFLAGS As UInteger _
)
void MarshalInterface(
    IStream pstm,
    ref Guid riid,
    IntPtr pv,
    uint dwDestContext,
    IntPtr pvDestContext,
    uint MSHLFLAGS
)
void MarshalInterface(
    [InAttribute] IStream^ pstm, 
    [InAttribute] Guid% riid, 
    [InAttribute] IntPtr pv, 
    [InAttribute] unsigned int dwDestContext, 
    [InAttribute] IntPtr pvDestContext, 
    [InAttribute] unsigned int MSHLFLAGS
)
abstract MarshalInterface : 
        pstm:IStream * 
        riid:Guid byref * 
        pv:IntPtr * 
        dwDestContext:uint32 * 
        pvDestContext:IntPtr * 
        MSHLFLAGS:uint32 -> unit 
function MarshalInterface(
    pstm : IStream, 
    riid : Guid, 
    pv : IntPtr, 
    dwDestContext : uint, 
    pvDestContext : IntPtr, 
    MSHLFLAGS : uint
)

Parameters

Implements

IMarshal.MarshalInterface(IStream, Guid%, IntPtr, UInt32, IntPtr, UInt32)

.NET Framework Security

See Also

Reference

IMarshal2 Interface

Microsoft.VisualStudio.OLE.Interop Namespace