In The Hand - .NET Components for Mobility
AllocHGlobal Method (cb)
NamespacesInTheHand.Runtime.InteropServicesMarshalHelperAllocHGlobal(Int32)
Allocates memory from the unmanaged memory of the process using LocalAlloc.
Declaration Syntax
C#Visual Basic
public static IntPtr AllocHGlobal(
	int cb
)
Public Shared Function AllocHGlobal ( _
	cb As Integer _
) As IntPtr
Parameters
cb (Int32)
The number of bytes in memory required.
Return Value
An IntPtr to the newly allocated memory. This memory must be released using the FreeHGlobal(IntPtr) method.

Assembly: InTheHand.WindowsMobile (Module: InTheHand.WindowsMobile) Version: 3.2.0.0