ReportEventW method

int ReportEventW(
  1. Pointer<Void> hEventLog,
  2. int wType,
  3. int wCategory,
  4. int dwEventID,
  5. Pointer<Void> lpUserSid,
  6. int wNumStrings,
  7. int dwDataSize,
  8. Pointer<Pointer<Uint16>> lpStrings,
  9. Pointer<Void> lpRawData,
)

Implementation

int ReportEventW(
  ffi.Pointer<ffi.Void> hEventLog,
  int wType,
  int wCategory,
  int dwEventID,
  ffi.Pointer<ffi.Void> lpUserSid,
  int wNumStrings,
  int dwDataSize,
  ffi.Pointer<ffi.Pointer<ffi.Uint16>> lpStrings,
  ffi.Pointer<ffi.Void> lpRawData,
) {
  return (_ReportEventW ??= _dylib
      .lookupFunction<_c_ReportEventW, _dart_ReportEventW>('ReportEventW'))(
    hEventLog,
    wType,
    wCategory,
    dwEventID,
    lpUserSid,
    wNumStrings,
    dwDataSize,
    lpStrings,
    lpRawData,
  );
}