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.

45 lines
1.4 KiB

  1. //+-------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1999
  5. //
  6. // File: coldata.h
  7. //
  8. // Contents: Classes to access persisted column data.
  9. //
  10. // Classes: CColumnData
  11. //
  12. // History: 25-Jan-99 AnandhaG Created
  13. //
  14. //--------------------------------------------------------------------
  15. #ifndef COLDATA_H
  16. #define COLDATA_H
  17. class CNodeInitObject;
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CColumnData
  20. class CColumnData : public IColumnData
  21. {
  22. public:
  23. CColumnData();
  24. ~CColumnData();
  25. IMPLEMENTS_SNAPIN_NAME_FOR_DEBUG()
  26. public:
  27. // IColumnData members.
  28. STDMETHOD(SetColumnConfigData)(SColumnSetID* pColID,MMC_COLUMN_SET_DATA* pColSetData);
  29. STDMETHOD(GetColumnConfigData)(SColumnSetID* pColID,MMC_COLUMN_SET_DATA** ppColSetData);
  30. STDMETHOD(SetColumnSortData)(SColumnSetID* pColID,MMC_SORT_SET_DATA* pColSortData);
  31. STDMETHOD(GetColumnSortData)(SColumnSetID* pColID,MMC_SORT_SET_DATA** ppColSortData);
  32. private:
  33. HRESULT GetColumnData(SColumnSetID* pColID, CColumnSetData& columnSetData);
  34. HRESULT SetColumnData(SColumnSetID* pColID, CColumnSetData& columnSetData);
  35. };
  36. HRESULT WINAPI ColumnInterfaceFunc(void* pv, REFIID riid, LPVOID* ppv, DWORD_PTR dw);
  37. #endif /* COLDATA_H */