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.

76 lines
1.8 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1996
  5. //
  6. // File: cfshgi.cxx
  7. //
  8. // Contents: This file contains the FileShare Object's GeneralInformation
  9. // Functional Set.
  10. //
  11. // History: 25-Apr-96 t-ptam (Patrick Tam) Created.
  12. //
  13. //----------------------------------------------------------------------------
  14. #include "NWCOMPAT.hxx"
  15. #pragma hdrstop
  16. //
  17. // Macro-ized implementation.
  18. //
  19. STDMETHODIMP
  20. CNWCOMPATFileShare::get_CurrentUserCount(THIS_ LONG FAR* retval)
  21. {
  22. GET_PROPERTY_LONG((IADsFileShare *)this, CurrentUserCount);
  23. }
  24. STDMETHODIMP
  25. CNWCOMPATFileShare::get_Description(THIS_ BSTR FAR* retval)
  26. {
  27. GET_PROPERTY_BSTR((IADsFileShare *)this, Description);
  28. }
  29. STDMETHODIMP
  30. CNWCOMPATFileShare::put_Description(THIS_ BSTR bstrDescription)
  31. {
  32. PUT_PROPERTY_BSTR((IADsFileShare *)this, Description);
  33. }
  34. STDMETHODIMP
  35. CNWCOMPATFileShare::get_HostComputer(THIS_ BSTR FAR* retval)
  36. {
  37. GET_PROPERTY_BSTR((IADsFileShare *)this, HostComputer);
  38. }
  39. STDMETHODIMP
  40. CNWCOMPATFileShare::put_HostComputer(THIS_ BSTR bstrHostComputer)
  41. {
  42. PUT_PROPERTY_BSTR((IADsFileShare *)this, HostComputer);
  43. }
  44. STDMETHODIMP
  45. CNWCOMPATFileShare::get_Path(THIS_ BSTR FAR* retval)
  46. {
  47. GET_PROPERTY_BSTR((IADsFileShare *)this, Path);
  48. }
  49. STDMETHODIMP
  50. CNWCOMPATFileShare::put_Path(THIS_ BSTR bstrPath)
  51. {
  52. PUT_PROPERTY_BSTR((IADsFileShare *)this, Path);
  53. }
  54. STDMETHODIMP
  55. CNWCOMPATFileShare::get_MaxUserCount(THIS_ LONG FAR* retval)
  56. {
  57. GET_PROPERTY_LONG((IADsFileShare *)this, MaxUserCount);
  58. }
  59. STDMETHODIMP
  60. CNWCOMPATFileShare::put_MaxUserCount(THIS_ LONG lMaxUserCount)
  61. {
  62. PUT_PROPERTY_LONG((IADsFileShare *)this, MaxUserCount);
  63. }