ReadEventLogA method

int ReadEventLogA(
  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 ReadEventLogA(
  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 (_ReadEventLogA ??=
      _dylib.lookupFunction<_c_ReadEventLogA, _dart_ReadEventLogA>(
          'ReadEventLogA'))(
    hEventLog,
    dwReadFlags,
    dwRecordOffset,
    lpBuffer,
    nNumberOfBytesToRead,
    pnBytesRead,
    pnMinNumberOfBytesNeeded,
  );
}