## Marshal::AllocHGlobal(int32_t) method


Mengalokasikan memori yang tidak dikelola.

```cpp
static IntPtr System::Runtime::InteropServices::Marshal::AllocHGlobal(int32_t bytes_count)
```


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| bytes_count | int32_t | Jumlah byte yang diperlukan. |

### ReturnValue

Penunjuk ke memori yang dialokasikan.

## Lihat Juga

* Class [Marshal](../)
* Namespace [System::Runtime::InteropServices](../../)
* Library [Aspose.Page for C++](../../../)
## Marshal::AllocHGlobal(IntPtr) method


Mengalokasikan memori yang tidak dikelola.

```cpp
static IntPtr System::Runtime::InteropServices::Marshal::AllocHGlobal(IntPtr bytes_count)
```


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| bytes_count | IntPtr | Jumlah byte yang diperlukan. |

### ReturnValue

Penunjuk ke memori yang dialokasikan.

## Lihat Juga

* Class [Marshal](../)
* Namespace [System::Runtime::InteropServices](../../)
* Library [Aspose.Page for C++](../../../)
