IMarshal2.GetMarshalSizeMax 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 GetMarshalSizeMax ( _
ByRef riid As Guid, _
pv As IntPtr, _
dwDestContext As UInteger, _
pvDestContext As IntPtr, _
MSHLFLAGS As UInteger, _
<OutAttribute> ByRef pSize As UInteger _
)
void GetMarshalSizeMax(
ref Guid riid,
IntPtr pv,
uint dwDestContext,
IntPtr pvDestContext,
uint MSHLFLAGS,
out uint pSize
)
void GetMarshalSizeMax(
[InAttribute] Guid% riid,
[InAttribute] IntPtr pv,
[InAttribute] unsigned int dwDestContext,
[InAttribute] IntPtr pvDestContext,
[InAttribute] unsigned int MSHLFLAGS,
[OutAttribute] unsigned int% pSize
)
abstract GetMarshalSizeMax :
riid:Guid byref *
pv:IntPtr *
dwDestContext:uint32 *
pvDestContext:IntPtr *
MSHLFLAGS:uint32 *
pSize:uint32 byref -> unit
function GetMarshalSizeMax(
riid : Guid,
pv : IntPtr,
dwDestContext : uint,
pvDestContext : IntPtr,
MSHLFLAGS : uint,
pSize : uint
)
Parameters
- riid
Type: System.Guid%
- pv
Type: System.IntPtr
- dwDestContext
Type: System.UInt32
- pvDestContext
Type: System.IntPtr
- MSHLFLAGS
Type: System.UInt32
- pSize
Type: System.UInt32%
Implements
IMarshal.GetMarshalSizeMax(Guid%, IntPtr, UInt32, IntPtr, UInt32, 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.