IMarshal2.MarshalInterface Method (IStream, Guid%, IntPtr, UInt32, IntPtr, UInt32)
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
'宣言
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
)
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.