Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "IMalloc" in [All]

Interfaces

.
Summary
The IMalloc interface allocates, frees, and manages memory.
.

/// C# definition of the IMalloc interface.

.

internal interface IMalloc

.

    /// This method returns the size, in bytes, of a memory block previously allocated with IMalloc::Alloc or IMalloc::Realloc.

.

    /// 0 - not allocated by this IMalloc Instance.

.

Public Interface IMalloc

.

    ''' This method returns the size, in bytes, of a memory block previously allocated with IMalloc::Alloc or IMalloc::Realloc.

.

    ''' <returns>1 - allocated 0 - not allocated by this IMalloc Instance.</returns>

shell32

.

static extern int SHGetMalloc(out IMalloc ppMalloc);

.

IMalloc pMalloc;

.

System.Type mallocType = typeof(IMalloc);

.

pMalloc = (IMalloc)obj;

ole32

.

static extern IMalloc CoGetMalloc(uint dwMemContext);

.

IMalloc


 
Access PInvoke.net directly from VS: