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.

23 lines
855 B

  1. //----------------------------------------------------------------------------
  2. //
  3. //----------------------------------------------------------------------------
  4. typedef struct
  5. {
  6. DWORD dwAttribs;
  7. LPITEMIDLIST pidl;
  8. PSTR pszName;
  9. } FILELIST_ITEM;
  10. typedef FILELIST_ITEM *PFILELIST_ITEM;
  11. typedef BOOL (*PFN_FOLDER_ENUM_CALLBACK)(LPSHELLFOLDER psf, LPITEMIDLIST pidlFolder, LPITEMIDLIST pidlItem, LPVOID pv);
  12. BOOL Folder_Enum(LPITEMIDLIST pidlFolder, PFN_FOLDER_ENUM_CALLBACK pfn, PVOID pv);
  13. void FileList_Destroy(HDPA hdpa);
  14. BOOL FileList_Create(LPITEMIDLIST pidlFolder, HDPA *phdpa, PINT pcItems);
  15. BOOL FileList_Sort(HDPA hdpaFLI);
  16. BOOL FileList_CreateItem(IShellFolder *psf, LPITEMIDLIST pidl, PFILELIST_ITEM *ppfli);
  17. void FileList_DestroyItem(PFILELIST_ITEM pfli);
  18. BOOL Sz_AllocCopy(LPCTSTR pszSrc, LPSTR *ppszDst);