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.

92 lines
1.9 KiB

  1. class CPropertyCache;
  2. class CNWCOMPATFileShare: INHERIT_TRACKING,
  3. public ISupportErrorInfo,
  4. public IADsFileShare,
  5. public CCoreADsObject,
  6. public IADsPropertyList
  7. {
  8. public:
  9. /* IUnknown methods */
  10. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  11. DECLARE_STD_REFCOUNTING;
  12. DECLARE_IDispatch_METHODS;
  13. DECLARE_ISupportErrorInfo_METHODS;
  14. DECLARE_IADs_METHODS;
  15. DECLARE_IADsFileShare_METHODS;
  16. DECLARE_IADsPropertyList_METHODS;
  17. CNWCOMPATFileShare::CNWCOMPATFileShare();
  18. CNWCOMPATFileShare::~CNWCOMPATFileShare();
  19. static
  20. HRESULT
  21. CreateFileShare(
  22. LPTSTR szADsParent,
  23. LPTSTR szShareName,
  24. DWORD dwObjectState,
  25. REFIID riid,
  26. LPVOID * ppvoid
  27. );
  28. static
  29. HRESULT
  30. CNWCOMPATFileShare::AllocateFileShareObject(
  31. CNWCOMPATFileShare ** ppFileShare
  32. );
  33. HRESULT
  34. CNWCOMPATFileShare::CreateObject();
  35. STDMETHOD(GetInfo)(
  36. THIS_ BOOL fExplicit,
  37. DWORD dwPropertyID
  38. );
  39. protected:
  40. HRESULT
  41. CNWCOMPATFileShare::ExplicitGetInfo(
  42. NWCONN_HANDLE hConn,
  43. POBJECTINFO pObjectInfo,
  44. BOOL fExplicit
  45. );
  46. HRESULT
  47. CNWCOMPATFileShare::ImplicitGetInfo(
  48. NWCONN_HANDLE hConn,
  49. POBJECTINFO pObjectInfo,
  50. DWORD dwPropertyID,
  51. BOOL fExplicit
  52. );
  53. HRESULT
  54. CNWCOMPATFileShare::GetProperty_Description(
  55. BOOL fExplicit
  56. );
  57. HRESULT
  58. CNWCOMPATFileShare::GetProperty_HostComputer(
  59. POBJECTINFO pObjectInfo,
  60. BOOL fExplicit
  61. );
  62. HRESULT
  63. CNWCOMPATFileShare::GetProperty_MaxUserCount(
  64. NWCONN_HANDLE hConn,
  65. BOOL fExplicit
  66. );
  67. CAggregatorDispMgr * _pDispMgr;
  68. CADsExtMgr FAR * _pExtMgr;
  69. CPropertyCache * _pPropertyCache;
  70. };