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.

59 lines
1.6 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1997 - 1997, Microsoft Corporation.
  4. //
  5. // File: ciplist.hxx
  6. //
  7. // Contents: semi-public property list class
  8. //
  9. // Functions: CIGetGlobalPropertyList
  10. //
  11. // Classes: ICiPropertyList
  12. //
  13. // History: 07-Aug-97 alanw Created.
  14. //
  15. //----------------------------------------------------------------------------
  16. #pragma once
  17. #if defined(__cplusplus)
  18. class ICiPropertyList;
  19. //
  20. // Get a reference to the global property list used by CITextTo*Tree, etc.
  21. //
  22. STDAPI CIGetGlobalPropertyList( ICiPropertyList ** ppPropList );
  23. //
  24. // Interface for inquiring about global properties
  25. //
  26. class ICiPropertyList
  27. {
  28. public:
  29. virtual ULONG STDMETHODCALLTYPE AddRef( ) = 0;
  30. virtual ULONG STDMETHODCALLTYPE Release( ) = 0;
  31. virtual BOOL GetPropInfo( WCHAR const * wcsPropName,
  32. DBID ** ppPropId,
  33. DBTYPE * pproptype,
  34. unsigned int * puWidth ) = 0;
  35. virtual BOOL GetPropInfo( DBID const & prop,
  36. WCHAR const ** pwcsName,
  37. DBTYPE * pproptype,
  38. unsigned int * puWidth ) = 0;
  39. virtual BOOL EnumPropInfo( ULONG const & iEntry,
  40. WCHAR const ** pwcsName,
  41. DBID ** ppprop,
  42. DBTYPE * pproptype,
  43. unsigned int * puWidth ) = 0;
  44. };
  45. #endif // defined(__cplusplus)