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.

92 lines
1.9 KiB

  1. //=================================================================
  2. //
  3. // usebinding.cpp -- Generic association class
  4. //
  5. // Copyright (c) 2000-2001 Microsoft Corporation, All Rights Reserved
  6. //
  7. //=================================================================
  8. #include "precomp.h"
  9. #include <Binding.h>
  10. CBinding UserToDomain(
  11. L"Win32_UserInDomain",
  12. IDS_CimWin32Namespace,
  13. L"Win32_NTDomain",
  14. L"Win32_UserAccount",
  15. IDS_GroupComponent,
  16. IDS_PartComponent,
  17. L"DomainName",
  18. IDS_Domain
  19. );
  20. CBinding GroupToDomain(
  21. L"Win32_GroupInDomain",
  22. IDS_CimWin32Namespace,
  23. L"Win32_NTDomain",
  24. L"Win32_Group",
  25. IDS_GroupComponent,
  26. IDS_PartComponent,
  27. L"DomainName",
  28. IDS_Domain
  29. );
  30. CBinding JOStats(
  31. L"Win32_NamedJobObjectStatistics",
  32. IDS_CimWin32Namespace,
  33. L"Win32_NamedJobObjectActgInfo",
  34. L"Win32_NamedJobObject",
  35. L"Stats",
  36. L"Collection",
  37. L"Name",
  38. L"CollectionID"
  39. );
  40. CBinding JOLimit(
  41. L"Win32_NamedJobObjectLimit",
  42. IDS_CimWin32Namespace,
  43. L"Win32_NamedJobObjectLimitSetting",
  44. L"Win32_NamedJobObject",
  45. L"Setting",
  46. L"Collection",
  47. L"SettingID",
  48. L"CollectionID"
  49. );
  50. CBinding JOSecLimit(
  51. L"Win32_NamedJobObjectSecLimit",
  52. IDS_CimWin32Namespace,
  53. L"Win32_NamedJobObjectSecLimitSetting",
  54. L"Win32_NamedJobObject",
  55. L"Setting",
  56. L"Collection",
  57. L"SettingID",
  58. L"CollectionID"
  59. );
  60. CBinding Win32_LogonSessionMappedDisk(
  61. L"Win32_LogonSessionMappedDisk",
  62. IDS_CimWin32Namespace,
  63. L"Win32_LogonSession",
  64. L"Win32_MappedLogicalDisk",
  65. L"Antecedent",
  66. L"Dependent",
  67. L"LogonID",
  68. L"SessionID"
  69. );
  70. CBinding Win32_DiskDrivePhysicalMedia(
  71. L"Win32_DiskDrivePhysicalMedia",
  72. IDS_CimWin32Namespace,
  73. L"Win32_DiskDrive",
  74. L"Win32_PhysicalMedia",
  75. L"Dependent",
  76. L"Antecedent",
  77. L"DeviceID",
  78. L"Tag"
  79. );