System::Runtime::InteropServices::Marshal::AllocHGlobal Methode

Marshal::AllocHGlobal(int32_t) method

Allokiert nicht verwalteten Speicher.

static IntPtr System::Runtime::InteropServices::Marshal::AllocHGlobal(int32_t bytes_count)
ParameterTypBeschreibung
bytes_countint32_tErforderliche Anzahl von Bytes.

ReturnValue

Zeiger auf den zugewiesenen Speicher.

Siehe auch

Marshal::AllocHGlobal(IntPtr) method

Allokiert nicht verwalteten Speicher.

static IntPtr System::Runtime::InteropServices::Marshal::AllocHGlobal(IntPtr bytes_count)
ParameterTypBeschreibung
bytes_countIntPtrErforderliche Anzahl von Bytes.

ReturnValue

Zeiger auf den zugewiesenen Speicher.

Siehe auch