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.

69 lines
1.5 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1997
  5. //
  6. // File: cnamesp.hxx
  7. //
  8. // Contents: Namespace Object
  9. //
  10. // History: 01-30-95 krishnag Created.
  11. //
  12. //----------------------------------------------------------------------------
  13. class CIISNamespace;
  14. class CIISNamespace : INHERIT_TRACKING,
  15. public CCoreADsObject,
  16. public IADsContainer,
  17. public IADs,
  18. public IADsOpenDSObject
  19. {
  20. public:
  21. /* IUnknown methods */
  22. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  23. DECLARE_STD_REFCOUNTING
  24. DECLARE_IDispatch_METHODS
  25. DECLARE_IADs_METHODS
  26. DECLARE_IADsContainer_METHODS
  27. DECLARE_IADsOpenDSObject_METHODS
  28. CIISNamespace::CIISNamespace();
  29. CIISNamespace::~CIISNamespace();
  30. static
  31. HRESULT
  32. CIISNamespace::CreateNamespace(
  33. BSTR Parent,
  34. BSTR NamespaceName,
  35. CCredentials& Credentials,
  36. DWORD dwObjectState,
  37. REFIID riid,
  38. void **ppvObj
  39. );
  40. static
  41. HRESULT
  42. CIISNamespace::AllocateNamespaceObject(
  43. CCredentials& Credentials,
  44. CIISNamespace ** ppNamespace
  45. );
  46. protected:
  47. VARIANT _vFilter;
  48. CAggregatorDispMgr *_pDispMgr;
  49. CCredentials _Credentials;
  50. IIsSchema *_pSchema;
  51. };