Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.2 KiB

  1. /*++
  2. Copyright (C) 1999-2001 Microsoft Corporation
  3. Module Name:
  4. ADAPUTIL.H
  5. Abstract:
  6. History:
  7. --*/
  8. #ifndef _ADAPUTIL_H_
  9. #define _ADAPUTIL_H_
  10. #include "CWbemTime.h"
  11. #include <wstring.h>
  12. #include <flexarry.h>
  13. #include <arrtempl.h>
  14. #include <evtlog.h>
  15. #include <wbemidl.h>
  16. #include <wbemutil.h>
  17. #include "Adapperf.h"
  18. class CAdapUtility
  19. {
  20. public:
  21. static HRESULT NTLogEvent(DWORD dwEventType,
  22. DWORD dwEventID,
  23. CInsertionString c1 = CInsertionString(),
  24. CInsertionString c2 = CInsertionString(),
  25. CInsertionString c3 = CInsertionString(),
  26. CInsertionString c4 = CInsertionString(),
  27. CInsertionString c5 = CInsertionString(),
  28. CInsertionString c6 = CInsertionString(),
  29. CInsertionString c7 = CInsertionString(),
  30. CInsertionString c8 = CInsertionString(),
  31. CInsertionString c9 = CInsertionString(),
  32. CInsertionString c10 = CInsertionString() );
  33. };
  34. #endif //_ADAPUTIL_H_