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.

74 lines
1.5 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995
  5. //
  6. // File: cipsec.hxx
  7. //
  8. // Contents: Property Attribute object
  9. //
  10. // History: 21-1-98 SophiaC Created.
  11. //
  12. //----------------------------------------------------------------------------
  13. #include "iiis.h"
  14. class CPropertyAttribute;
  15. class CPropertyAttribute : INHERIT_TRACKING,
  16. public IISPropertyAttribute
  17. {
  18. public:
  19. /* IUnknown methods */
  20. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  21. DECLARE_STD_REFCOUNTING
  22. DECLARE_IDispatch_METHODS
  23. DECLARE_IISPropertyAttribute_METHODS
  24. CPropertyAttribute::CPropertyAttribute();
  25. CPropertyAttribute::~CPropertyAttribute();
  26. HRESULT
  27. CPropertyAttribute::InitFromRawData(
  28. LPWSTR pszName,
  29. DWORD dwMetaId,
  30. DWORD dwUserType,
  31. DWORD dwAttribute,
  32. VARIANT *pvVal
  33. );
  34. static
  35. HRESULT
  36. CPropertyAttribute::CreatePropertyAttribute(
  37. REFIID riid,
  38. void **ppvObj
  39. );
  40. static
  41. HRESULT
  42. CPropertyAttribute::AllocatePropertyAttributeObject(
  43. CPropertyAttribute ** ppPropertyAttribute
  44. );
  45. protected:
  46. LONG _lMetaId;
  47. LONG _lUserType;
  48. LONG _lAllAttributes;
  49. BOOL _bInherit;
  50. BOOL _bPartialPath;
  51. BOOL _bSecure;
  52. BOOL _bReference;
  53. BOOL _bVolatile;
  54. BOOL _bIsinherit;
  55. BOOL _bInsertPath;
  56. WCHAR _wcName[MAX_PATH];
  57. VARIANT _vDefault;
  58. CAggregatorDispMgr FAR * _pDispMgr;
  59. };