VirtualQuery method

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

Implementation

int VirtualQuery(
  ffi.Pointer<ffi.Void> lpAddress,
  ffi.Pointer<PMEMORY_BASIC_INFORMATION> lpBuffer,
  int dwLength,
) {
  return (_VirtualQuery ??= _dylib
      .lookupFunction<_c_VirtualQuery, _dart_VirtualQuery>('VirtualQuery'))(
    lpAddress,
    lpBuffer,
    dwLength,
  );
}