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.

53 lines
1.5 KiB

  1. ////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (C) 2000, Microsoft Corporation.
  4. //
  5. // All rights reserved.
  6. //
  7. // Module Name:
  8. //
  9. // wmi_common.cpp
  10. //
  11. // Abstract:
  12. //
  13. // declarations of common constants
  14. //
  15. // History:
  16. //
  17. // initial a-marius
  18. //
  19. ////////////////////////////////////////////////////////////////////////////////////
  20. #include "precomp.h"
  21. LPCWSTR g_szAppName = L"WmiApSrv";
  22. LPCWSTR g_szAppNameGlobal = L"Global\\WmiApSrv";
  23. ////////////////////////////////////////////////////////////////////////////////////
  24. // this constants are part of static library already
  25. ////////////////////////////////////////////////////////////////////////////////////
  26. /*
  27. LPCWSTR g_szRefreshMutex = L"Global\\RefreshRA";
  28. // namespaces
  29. LPCWSTR g_szNamespace1 = L"\\\\.\\root\\cimv2";
  30. LPCWSTR g_szNamespace2 = L"\\\\.\\root\\wmi";
  31. // registry
  32. LPCWSTR g_szKey = L"SOFTWARE\\Microsoft\\WBEM\\PROVIDERS\\Performance";
  33. LPCWSTR g_szKeyValue = L"Performance Data";
  34. LPCWSTR g_szKeyCounter = L"SYSTEM\\CurrentControlSet\\Services\\WmiApRpl\\Performance";
  35. */
  36. ///////////////////////////////////////////////////////////////////////////////
  37. // convertion
  38. ///////////////////////////////////////////////////////////////////////////////
  39. WCHAR g_szPath[_MAX_PATH] = { L'\0' };
  40. LPCWSTR g_szOpen = L"WmiOpenPerfData";
  41. LPCWSTR g_szCollect = L"WmiCollectPerfData";
  42. LPCWSTR g_szClose = L"WmiClosePerfData";