GetEventLogInformation method

int GetEventLogInformation(
  1. Pointer<Void> hEventLog,
  2. int dwInfoLevel,
  3. Pointer<Void> lpBuffer,
  4. int cbBufSize,
  5. Pointer<Uint64> pcbBytesNeeded,
)

Implementation

int GetEventLogInformation(
  ffi.Pointer<ffi.Void> hEventLog,
  int dwInfoLevel,
  ffi.Pointer<ffi.Void> lpBuffer,
  int cbBufSize,
  ffi.Pointer<ffi.Uint64> pcbBytesNeeded,
) {
  return (_GetEventLogInformation ??= _dylib.lookupFunction<
      _c_GetEventLogInformation,
      _dart_GetEventLogInformation>('GetEventLogInformation'))(
    hEventLog,
    dwInfoLevel,
    lpBuffer,
    cbBufSize,
    pcbBytesNeeded,
  );
}