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.

184 lines
4.5 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1995
  5. //
  6. // File: cfsvconf.cxx
  7. //
  8. // Contents:
  9. //
  10. // History: April 19, 1996 t-ptam (Patrick Tam) Created.
  11. //
  12. //----------------------------------------------------------------------------
  13. #include "nwcompat.hxx"
  14. #pragma hdrstop
  15. //----------------------------------------------------------------------------
  16. //
  17. // Function: CNWCOMPATFileService::SetPassword
  18. //
  19. // Synopsis:
  20. //
  21. //----------------------------------------------------------------------------
  22. STDMETHODIMP
  23. CNWCOMPATFileService::SetPassword(
  24. THIS_ BSTR bstrNewPassword
  25. )
  26. {
  27. RRETURN_EXP_IF_ERR(E_NOTIMPL);
  28. }
  29. //
  30. // Properties Get & Set.
  31. //
  32. STDMETHODIMP
  33. CNWCOMPATFileService::get_HostComputer(THIS_ BSTR FAR* retval)
  34. {
  35. GET_PROPERTY_BSTR((IADsFileService *)this, HostComputer);
  36. }
  37. STDMETHODIMP
  38. CNWCOMPATFileService::put_HostComputer(THIS_ BSTR bstrHostComputer)
  39. {
  40. PUT_PROPERTY_BSTR((IADsFileService *)this, HostComputer);
  41. }
  42. STDMETHODIMP
  43. CNWCOMPATFileService::get_DisplayName(THIS_ BSTR FAR* retval)
  44. {
  45. GET_PROPERTY_BSTR((IADsFileService *)this, DisplayName);
  46. }
  47. STDMETHODIMP
  48. CNWCOMPATFileService::put_DisplayName(THIS_ BSTR bstrDisplayName)
  49. {
  50. PUT_PROPERTY_BSTR((IADsFileService *)this, DisplayName);
  51. }
  52. STDMETHODIMP
  53. CNWCOMPATFileService::get_Version(THIS_ BSTR FAR* retval)
  54. {
  55. GET_PROPERTY_BSTR((IADsFileService *)this, Version);
  56. }
  57. STDMETHODIMP
  58. CNWCOMPATFileService::put_Version(THIS_ BSTR bstrVersion)
  59. {
  60. PUT_PROPERTY_BSTR((IADsFileService *)this, Version);
  61. }
  62. STDMETHODIMP
  63. CNWCOMPATFileService::get_ServiceType(THIS_ long FAR* retval)
  64. {
  65. GET_PROPERTY_LONG((IADsFileService *)this, ServiceType);
  66. }
  67. STDMETHODIMP
  68. CNWCOMPATFileService::put_ServiceType(THIS_ long lServiceType)
  69. {
  70. PUT_PROPERTY_LONG((IADsFileService *)this, ServiceType);
  71. }
  72. STDMETHODIMP
  73. CNWCOMPATFileService::get_StartType(THIS_ LONG FAR* retval)
  74. {
  75. GET_PROPERTY_LONG((IADsFileService *)this, StartType);
  76. }
  77. STDMETHODIMP
  78. CNWCOMPATFileService::put_StartType(THIS_ LONG lStartType)
  79. {
  80. PUT_PROPERTY_LONG((IADsFileService *)this, StartType);
  81. }
  82. STDMETHODIMP
  83. CNWCOMPATFileService::get_Path(THIS_ BSTR FAR* retval)
  84. {
  85. GET_PROPERTY_BSTR((IADsFileService *)this, Path);
  86. }
  87. STDMETHODIMP
  88. CNWCOMPATFileService::put_Path(THIS_ BSTR bstrPath)
  89. {
  90. PUT_PROPERTY_BSTR((IADsFileService *)this, Path);
  91. }
  92. STDMETHODIMP
  93. CNWCOMPATFileService::get_StartupParameters(THIS_ BSTR FAR* retval)
  94. {
  95. GET_PROPERTY_BSTR((IADsFileService *)this, StartupParameters);
  96. }
  97. STDMETHODIMP
  98. CNWCOMPATFileService::put_StartupParameters(THIS_ BSTR bstrStartupParameters)
  99. {
  100. PUT_PROPERTY_BSTR((IADsFileService *)this, StartupParameters);
  101. }
  102. STDMETHODIMP
  103. CNWCOMPATFileService::get_ErrorControl(THIS_ LONG FAR* retval)
  104. {
  105. GET_PROPERTY_LONG((IADsFileService *)this, ErrorControl);
  106. }
  107. STDMETHODIMP
  108. CNWCOMPATFileService::put_ErrorControl(THIS_ LONG lErrorControl)
  109. {
  110. PUT_PROPERTY_LONG((IADsFileService *)this, ErrorControl);
  111. }
  112. STDMETHODIMP
  113. CNWCOMPATFileService::get_LoadOrderGroup(THIS_ BSTR FAR* retval)
  114. {
  115. GET_PROPERTY_BSTR((IADsFileService *)this, LoadOrderGroup);
  116. }
  117. STDMETHODIMP
  118. CNWCOMPATFileService::put_LoadOrderGroup(THIS_ BSTR bstrLoadOrderGroup)
  119. {
  120. PUT_PROPERTY_BSTR((IADsFileService *)this, LoadOrderGroup);
  121. }
  122. STDMETHODIMP
  123. CNWCOMPATFileService::get_ServiceAccountName(THIS_ BSTR FAR* retval)
  124. {
  125. GET_PROPERTY_BSTR((IADsFileService *)this, ServiceAccountName);
  126. }
  127. STDMETHODIMP
  128. CNWCOMPATFileService::put_ServiceAccountName(THIS_ BSTR bstrServiceAccountName)
  129. {
  130. PUT_PROPERTY_BSTR((IADsFileService *)this, ServiceAccountName);
  131. }
  132. STDMETHODIMP
  133. CNWCOMPATFileService::get_ServiceAccountPath(THIS_ BSTR FAR* retval)
  134. {
  135. GET_PROPERTY_BSTR((IADsFileService *)this, ServiceAccountPath);
  136. }
  137. STDMETHODIMP
  138. CNWCOMPATFileService::put_ServiceAccountPath(THIS_ BSTR bstrServiceAccountPath)
  139. {
  140. PUT_PROPERTY_BSTR((IADsFileService *)this, ServiceAccountPath);
  141. }
  142. STDMETHODIMP
  143. CNWCOMPATFileService::get_Dependencies(THIS_ VARIANT FAR* retval)
  144. {
  145. GET_PROPERTY_VARIANT((IADsFileService *)this, Dependencies);
  146. }
  147. STDMETHODIMP
  148. CNWCOMPATFileService::put_Dependencies(THIS_ VARIANT vDependencies)
  149. {
  150. PUT_PROPERTY_VARIANT((IADsFileService *)this, Dependencies);
  151. }
  152. STDMETHODIMP
  153. CNWCOMPATFileService::get_Status(THIS_ long FAR* plStatusCode)
  154. {
  155. RRETURN_EXP_IF_ERR(E_NOTIMPL);
  156. }