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.

16 lines
946 B

  1. #ifndef CATEGORY_H
  2. #define CATEGORY_H
  3. #define BEGIN_CATEGORY_LIST(name) const CATLIST name[] = {
  4. #define CATEGORY_ENTRY_GUID(guid) {(const GUID*)&guid, (const SHCOLUMNID*)NULL},
  5. #define CATEGORY_ENTRY_SCIDMAP(scid, guid) {(const GUID*)&guid, (const SHCOLUMNID*)&scid},
  6. #define END_CATEGORY_LIST() {(const GUID*)&GUID_NULL, (const SHCOLUMNID*)NULL}};
  7. STDAPI CCategoryProvider_Create(const GUID* pguid, const SHCOLUMNID* pscid, HKEY hkey, const CATLIST* pcl, IShellFolder* psf, REFIID riid, void **ppv);
  8. STDAPI CDetailCategorizer_Create(const SHCOLUMNID& pscid, IShellFolder2* psf2, REFIID riid, void **ppv);
  9. STDAPI CSizeCategorizer_Create(IShellFolder2* psf2, REFIID riid, void **ppv);
  10. STDAPI CTimeCategorizer_Create(IShellFolder2* psf2, const SHCOLUMNID* pscid, REFIID riid, void **ppv);
  11. STDAPI CAlphaCategorizer_Create(IShellFolder2* psf2, REFIID riid, void **ppv);
  12. EXTERN_C const GUID CLSID_DetailCategorizer;
  13. #endif