For the complete documentation index, see llms.txt. This page is also available as Markdown.

HeapAlloc

[DllImport("KERNEL32.dll", ExactSpelling = true)]
[DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
public static extern unsafe void* HeapAlloc(
    HANDLE hHeap,
    HEAP_FLAGS dwFlags,
    nuint dwBytes);

HEAP_FLAGS

Last updated