Source code of Windows XP (NT5)
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.

184 lines
4.8 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995
  5. //
  6. // File: ccgi.cxx
  7. //
  8. // Contents: This file contains the Computer Object's
  9. // GeneralInformation Functional Set.
  10. //
  11. // History: 18-Jan-96 t-tpam (Patrick Tam) Created.
  12. //
  13. //----------------------------------------------------------------------------
  14. #include "NWCOMPAT.hxx"
  15. #pragma hdrstop
  16. //
  17. // Properties Get & Set
  18. //
  19. STDMETHODIMP CNWCOMPATComputer::get_ComputerID(THIS_ BSTR FAR* retval)
  20. {
  21. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  22. }
  23. STDMETHODIMP CNWCOMPATComputer::get_Site(THIS_ BSTR FAR* retval)
  24. {
  25. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  26. }
  27. STDMETHODIMP CNWCOMPATComputer::get_Description(THIS_ BSTR FAR* retval)
  28. {
  29. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  30. }
  31. STDMETHODIMP CNWCOMPATComputer::put_Description(THIS_ BSTR bstrDescription)
  32. {
  33. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  34. }
  35. STDMETHODIMP CNWCOMPATComputer::get_Location(THIS_ BSTR FAR* retval)
  36. {
  37. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  38. }
  39. STDMETHODIMP CNWCOMPATComputer::put_Location(THIS_ BSTR bstrLocation)
  40. {
  41. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  42. }
  43. STDMETHODIMP CNWCOMPATComputer::get_PrimaryUser(THIS_ BSTR FAR* retval)
  44. {
  45. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  46. }
  47. STDMETHODIMP CNWCOMPATComputer::put_PrimaryUser(THIS_ BSTR bstrPrimaryUser)
  48. {
  49. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  50. }
  51. STDMETHODIMP CNWCOMPATComputer::get_Owner(THIS_ BSTR FAR* retval)
  52. {
  53. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  54. }
  55. STDMETHODIMP CNWCOMPATComputer::put_Owner(THIS_ BSTR bstrOwner)
  56. {
  57. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  58. }
  59. STDMETHODIMP CNWCOMPATComputer::get_Division(THIS_ BSTR FAR* retval)
  60. {
  61. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  62. }
  63. STDMETHODIMP CNWCOMPATComputer::put_Division(THIS_ BSTR bstrDivision)
  64. {
  65. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  66. }
  67. STDMETHODIMP CNWCOMPATComputer::get_Department(THIS_ BSTR FAR* retval)
  68. {
  69. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  70. }
  71. STDMETHODIMP CNWCOMPATComputer::put_Department(THIS_ BSTR bstrDepartment)
  72. {
  73. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  74. }
  75. STDMETHODIMP CNWCOMPATComputer::get_Role(THIS_ BSTR FAR* retval)
  76. {
  77. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  78. }
  79. STDMETHODIMP CNWCOMPATComputer::put_Role(THIS_ BSTR bstrRole)
  80. {
  81. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  82. }
  83. STDMETHODIMP CNWCOMPATComputer::get_OperatingSystem(THIS_ BSTR FAR* retval)
  84. {
  85. GET_PROPERTY_BSTR((IADsComputer *)this, OperatingSystem);
  86. }
  87. STDMETHODIMP CNWCOMPATComputer::put_OperatingSystem(THIS_ BSTR bstrOperatingSystem)
  88. {
  89. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  90. }
  91. STDMETHODIMP CNWCOMPATComputer::get_OperatingSystemVersion(THIS_ BSTR FAR* retval)
  92. {
  93. GET_PROPERTY_BSTR((IADsComputer *)this, OperatingSystemVersion);
  94. }
  95. STDMETHODIMP CNWCOMPATComputer::put_OperatingSystemVersion(THIS_ BSTR bstrOperatingSystemVersion)
  96. {
  97. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  98. }
  99. STDMETHODIMP CNWCOMPATComputer::get_Model(THIS_ BSTR FAR* retval)
  100. {
  101. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  102. }
  103. STDMETHODIMP CNWCOMPATComputer::put_Model(THIS_ BSTR bstrModel)
  104. {
  105. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  106. }
  107. STDMETHODIMP CNWCOMPATComputer::get_Processor(THIS_ BSTR FAR* retval)
  108. {
  109. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  110. }
  111. STDMETHODIMP CNWCOMPATComputer::put_Processor(THIS_ BSTR bstrProcessor)
  112. {
  113. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  114. }
  115. STDMETHODIMP CNWCOMPATComputer::get_ProcessorCount(THIS_ BSTR FAR* retval)
  116. {
  117. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  118. }
  119. STDMETHODIMP CNWCOMPATComputer::put_ProcessorCount(THIS_ BSTR bstrProcessorCount)
  120. {
  121. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  122. }
  123. STDMETHODIMP CNWCOMPATComputer::get_MemorySize(THIS_ BSTR FAR* retval)
  124. {
  125. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  126. }
  127. STDMETHODIMP CNWCOMPATComputer::put_MemorySize(THIS_ BSTR bstrMemorySize)
  128. {
  129. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  130. }
  131. STDMETHODIMP CNWCOMPATComputer::get_StorageCapacity(THIS_ BSTR FAR* retval)
  132. {
  133. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  134. }
  135. STDMETHODIMP CNWCOMPATComputer::put_StorageCapacity(THIS_ BSTR bstrStorageCapacity)
  136. {
  137. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  138. }
  139. STDMETHODIMP CNWCOMPATComputer::get_NetAddresses(THIS_ VARIANT FAR* retval)
  140. {
  141. // see comment in ccomp.cxx/CNWCOMPATComputer::GetProperty_Addresses
  142. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  143. }
  144. STDMETHODIMP CNWCOMPATComputer::put_NetAddresses(THIS_ VARIANT vNetAddresses)
  145. {
  146. // see comment in ccomp.cxx/CNWCOMPATComputer::GetProperty_Addresses
  147. RRETURN_EXP_IF_ERR(E_ADS_PROPERTY_NOT_SUPPORTED);
  148. }