heapalloc (kernel32)
Last changed: shtolliver-47.227.243.115

.
Summary

C# Signature:

[DllImport("kernel32.dll", SetLastError=false)]
static extern IntPtr HeapAlloc(IntPtr hHeap, uint dwFlags, UIntPtr dwBytes);

VB.Net Signature:

Public Declare Function HeapAlloc Lib "kernel32" (ByVal hHeap As IntPtr, ByVal dwFlags As Integer, ByVal dwBytes As IntPtr) As IntPtr

VB.Net Signature:

Public Declare Function HeapAlloc Lib "kernel32" (ByVal hHeap As IntPtr, ByVal dwFlags As UInteger, ByVal dwBytes As UIntPtr) As IntPtr

User-Defined Types:

dwFlags - https://www.pinvoke.net/default.aspx/kernel32/dwFlags.html

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation
HeapAlloc on MSDN