IMarshal.MarshalInterface Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
‘선언
Sub MarshalInterface ( _
pstm As IStream, _
ByRef riid As Guid, _
pv As IntPtr, _
dwDestContext As UInteger, _
pvDestContext As IntPtr, _
MSHLFLAGS As UInteger _
)
‘사용 방법
Dim instance As IMarshal
Dim pstm As IStream
Dim riid As Guid
Dim pv As IntPtr
Dim dwDestContext As UInteger
Dim pvDestContext As IntPtr
Dim MSHLFLAGS As UInteger
instance.MarshalInterface(pstm, riid, _
pv, dwDestContext, pvDestContext, _
MSHLFLAGS)
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
- pstm
Type: Microsoft.VisualStudio.OLE.Interop.IStream
- riid
Type: System.Guid%
- pv
Type: System.IntPtr
- dwDestContext
Type: System.UInt32
- pvDestContext
Type: System.IntPtr
- MSHLFLAGS
Type: System.UInt32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.