Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AllocHGlobal Method
Collapse the table of content
Expand the table of content

Marshal.AllocHGlobal Method

Allocates a block of memory using LocalAlloc.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method Static member Supported by the .NET Compact Framework AllocHGlobal(Int32) Allocates memory from the unmanaged memory of the process.
Public method Static member AllocHGlobal(IntPtr) Allocates memory from the process's unmanaged memory.

Community Additions

© 2015 Microsoft