/*********************************************************************** $Id: $ filldir.c definitions Copyright (c) 1993-98 M. Kimes Copyright (c) 2001, 2008 Steven H. Levine 05 Jan 08 SHL Split from fm3dll.h ***********************************************************************/ #if !defined(FILLDIR_H) #define FILLDIR_H #if !defined(OS2_INCLUDED) #define INCL_WINSTDCNR // dircnrs.h #include #else #if !defined(INCL_WINSTDCNR) #error INCL_WINSTDCNR required #endif #endif #include "dircnrs.h" // DIRCNRDATA VOID EmptyCnr(HWND hwnd); const PSZ FileAttrToString(ULONG fileAttr); VOID FillDirCnr(HWND hwndCnr, CHAR *pszDirectory, DIRCNRDATA *pdcd, PULONGLONG pullBytes); VOID FillTreeCnr(HWND hwndCnr, HWND hwndParent); VOID ProcessDirectory(const HWND hwndCnr, const PCNRITEM pciParent, const CHAR *szDirBase, const BOOL filestoo, const BOOL recurse, const BOOL partial, CHAR *stopflag, DIRCNRDATA *pdcd, PULONG pullTotalFiles, PULONGLONG pullTotalBytes); ULONGLONG FillInRecordFromFFB(HWND hwndCnr, PCNRITEM pci, const PSZ pszDirectory, const PFILEFINDBUF4L pffb, const BOOL partial, DIRCNRDATA *pdcd); ULONGLONG FillInRecordFromFSA(HWND hwndCnr, PCNRITEM pci, const PSZ pszFileName, const PFILESTATUS4L pfsa4, const BOOL partial, DIRCNRDATA *pdcd); VOID FreeCnrItem(HWND hwnd, PCNRITEM pci); VOID FreeCnrItemList(HWND hwnd, PCNRITEM pciFirst); VOID FreeCnrItemData(PCNRITEM pci); INT RemoveCnrItems(HWND hwnd, PCNRITEM pci, USHORT usCnt, USHORT usFlags); #endif // FILLDIR_H