Function VirtualAlloc

Source
pub unsafe extern "system" fn VirtualAlloc(
    lpAddress: LPVOID,
    dwSize: usize,
    flAllocationType: DWORD,
    flProtect: DWORD,
) -> LPVOID
Expand description

https://docs.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-virtualalloc

LPVOID VirtualAlloc(
  [in, optional] LPVOID lpAddress,
  [in]           SIZE_T dwSize,
  [in]           DWORD  flAllocationType,
  [in]           DWORD  flProtect
);