QueryVirtualMemoryInformation method

int QueryVirtualMemoryInformation(
  1. Pointer<Void> Process,
  2. Pointer<Void> VirtualAddress,
  3. int MemoryInformationClass,
  4. Pointer<Void> MemoryInformation,
  5. int MemoryInformationSize,
  6. Pointer<Uint64> ReturnSize,
)

Implementation

int QueryVirtualMemoryInformation(
  ffi.Pointer<ffi.Void> Process,
  ffi.Pointer<ffi.Void> VirtualAddress,
  int MemoryInformationClass,
  ffi.Pointer<ffi.Void> MemoryInformation,
  int MemoryInformationSize,
  ffi.Pointer<ffi.Uint64> ReturnSize,
) {
  return (_QueryVirtualMemoryInformation ??= _dylib.lookupFunction<
      _c_QueryVirtualMemoryInformation,
      _dart_QueryVirtualMemoryInformation>('QueryVirtualMemoryInformation'))(
    Process,
    VirtualAddress,
    MemoryInformationClass,
    MemoryInformation,
    MemoryInformationSize,
    ReturnSize,
  );
}