AllocHGlobal()
Marshal::AllocHGlobal(int32_t) method
Allocates unmanaged memory.
static IntPtr System::Runtime::InteropServices::Marshal::AllocHGlobal(int32_t bytes_count)
Arguments
Parameter | Type | Description |
---|---|---|
bytes_count | int32_t | Required number of bytes. |
Return Value
Pointer to the allocated memory.
Marshal::AllocHGlobal(IntPtr) method
Allocates unmanaged memory.
static IntPtr System::Runtime::InteropServices::Marshal::AllocHGlobal(IntPtr bytes_count)
Arguments
Parameter | Type | Description |
---|---|---|
bytes_count | IntPtr | Required number of bytes. |
Return Value
Pointer to the allocated memory.
See Also
- Class Marshal
- Namespace System::Runtime::InteropServices
- Library Aspose.Slides