VirtualAlloc2 method
Implementation
ffi.Pointer<ffi.Void> VirtualAlloc2(
ffi.Pointer<ffi.Void> Process,
ffi.Pointer<ffi.Void> BaseAddress,
int Size,
int AllocationType,
int PageProtection,
ffi.Pointer<PMEM_EXTENDED_PARAMETER> ExtendedParameters,
int ParameterCount,
) {
return (_VirtualAlloc2 ??=
_dylib.lookupFunction<_c_VirtualAlloc2, _dart_VirtualAlloc2>(
'VirtualAlloc2'))(
Process,
BaseAddress,
Size,
AllocationType,
PageProtection,
ExtendedParameters,
ParameterCount,
);
}