Compartilhar via


IMarshal Interface

Definition

Enables a COM object to define and manage the marshaling of its interface pointers. Marshaling is packaging data for transmission to another process or machine. For more information, see IMarshal and IMarshal—Default Implementation.

public interface class IMarshal
public interface class IMarshal
__interface IMarshal
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("00000003-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IMarshal
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("00000003-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IMarshal
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("00000003-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IMarshal = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("00000003-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IMarshal = interface
Public Interface IMarshal
Derived
Attributes

Methods

DisconnectObject(UInt32)
GetMarshalSizeMax(Guid, IntPtr, UInt32, IntPtr, UInt32, UInt32)
GetUnmarshalClass(Guid, IntPtr, UInt32, IntPtr, UInt32, Guid)
MarshalInterface(IStream, Guid, IntPtr, UInt32, IntPtr, UInt32)
ReleaseMarshalData(IStream)
UnmarshalInterface(IStream, Guid, IntPtr)

Applies to