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.

54 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1997-1999 Microsoft Corporation
  3. Module Name:
  4. WmiData.c
  5. Abstract:
  6. Define storage for Guids and common global structures
  7. Author:
  8. JeePang
  9. Environment:
  10. Kernel mode
  11. Revision History:
  12. --*/
  13. #undef DECLSPEC_SELECTANY
  14. #define DECLSPEC_SELECTANY
  15. #pragma warning(disable:4214) // bit field types other than int
  16. #pragma warning(disable:4201) // nameless struct/union
  17. #pragma warning(disable:4324) // alignment sensitive to declspec
  18. #pragma warning(disable:4127) // condition expression is constant
  19. #pragma warning(disable:4115) // named type definition in parentheses
  20. #include <initguid.h>
  21. #include <ntos.h>
  22. //
  23. // Time out constents
  24. //
  25. const LARGE_INTEGER WmiOneSecond = {(ULONG)(-1 * 1000 * 1000 * 10), -1};
  26. const LARGE_INTEGER WmiShortTime = {(ULONG)(-10 * 1000 * 10), -1}; // 10 milliseconds
  27. #ifdef ALLOC_DATA_PRAGMA
  28. #pragma const_seg("PAGECONST")
  29. #endif
  30. #include <wmistr.h>
  31. #include <wmiguid.h>
  32. #define _WMIKM_
  33. #include <evntrace.h>
  34. #ifdef ALLOC_DATA_PRAGMA
  35. #pragma const_seg()
  36. #endif