次の方法で共有


IMalloc Interface

Allocates, frees, and manages memory. In general, use an existing implementation such as that provided by the CoGetMalloc function. For more information, see IMalloc.

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

Syntax

'宣言
<InterfaceTypeAttribute()> _
<GuidAttribute("00000002-0000-0000-C000-000000000046")> _
Public Interface IMalloc
'使用
Dim instance As IMalloc
[InterfaceTypeAttribute()]
[GuidAttribute("00000002-0000-0000-C000-000000000046")]
public interface IMalloc
[InterfaceTypeAttribute()]
[GuidAttribute(L"00000002-0000-0000-C000-000000000046")]
public interface class IMalloc
[<InterfaceTypeAttribute()>]
[<GuidAttribute("00000002-0000-0000-C000-000000000046")>]
type IMalloc =  interface end
public interface IMalloc

See Also

Reference

IMalloc Members

Microsoft.VisualStudio.OLE.Interop Namespace