ReadEventLogW method

int ReadEventLogW(
  1. Pointer<Void> hEventLog,
  2. int dwReadFlags,
  3. int dwRecordOffset,
  4. Pointer<Void> lpBuffer,
  5. int nNumberOfBytesToRead,
  6. Pointer<Uint64> pnBytesRead,
  7. Pointer<Uint64> pnMinNumberOfBytesNeeded,
)

Implementation

int ReadEventLogW(
  ffi.Pointer<ffi.Void> hEventLog,
  int dwReadFlags,
  int dwRecordOffset,
  ffi.Pointer<ffi.Void> lpBuffer,
  int nNumberOfBytesToRead,
  ffi.Pointer<ffi.Uint64> pnBytesRead,
  ffi.Pointer<ffi.Uint64> pnMinNumberOfBytesNeeded,
) {
  return (_ReadEventLogW ??=
      _dylib.lookupFunction<_c_ReadEventLogW, _dart_ReadEventLogW>(
          'ReadEventLogW'))(
    hEventLog,
    dwReadFlags,
    dwRecordOffset,
    lpBuffer,
    nNumberOfBytesToRead,
    pnBytesRead,
    pnMinNumberOfBytesNeeded,
  );
}