VirtualQueryEx method

int VirtualQueryEx(
  1. Pointer<Void> hProcess,
  2. Pointer<Void> lpAddress,
  3. Pointer<PMEMORY_BASIC_INFORMATION> lpBuffer,
  4. int dwLength,
)

Implementation

int VirtualQueryEx(
  ffi.Pointer<ffi.Void> hProcess,
  ffi.Pointer<ffi.Void> lpAddress,
  ffi.Pointer<PMEMORY_BASIC_INFORMATION> lpBuffer,
  int dwLength,
) {
  return (_VirtualQueryEx ??=
      _dylib.lookupFunction<_c_VirtualQueryEx, _dart_VirtualQueryEx>(
          'VirtualQueryEx'))(
    hProcess,
    lpAddress,
    lpBuffer,
    dwLength,
  );
}