| [907] | 1 |  | 
|---|
|  | 2 | /*********************************************************************** | 
|---|
|  | 3 |  | 
|---|
| [1196] | 4 | $Id: filldir.h 1207 2008-09-13 06:49:41Z jbs $ | 
|---|
| [907] | 5 |  | 
|---|
|  | 6 | filldir.c definitions | 
|---|
|  | 7 |  | 
|---|
|  | 8 | Copyright (c) 1993-98 M. Kimes | 
|---|
|  | 9 | Copyright (c) 2001, 2008 Steven H. Levine | 
|---|
|  | 10 |  | 
|---|
|  | 11 | 05 Jan 08 SHL Split from fm3dll.h | 
|---|
|  | 12 |  | 
|---|
|  | 13 | ***********************************************************************/ | 
|---|
|  | 14 |  | 
|---|
|  | 15 | #if !defined(FILLDIR_H) | 
|---|
|  | 16 |  | 
|---|
|  | 17 | #define FILLDIR_H | 
|---|
|  | 18 |  | 
|---|
|  | 19 | #if !defined(OS2_INCLUDED) | 
|---|
|  | 20 | #define INCL_WINSTDCNR                  // dircnrs.h | 
|---|
|  | 21 | #include <os2.h> | 
|---|
|  | 22 | #else | 
|---|
|  | 23 | #if !defined(INCL_WINSTDCNR) | 
|---|
|  | 24 | #error INCL_WINSTDCNR required | 
|---|
|  | 25 | #endif | 
|---|
|  | 26 | #endif | 
|---|
|  | 27 |  | 
|---|
|  | 28 | #include "dircnrs.h"                    // DIRCNRDATA | 
|---|
|  | 29 |  | 
|---|
|  | 30 | VOID EmptyCnr(HWND hwnd); | 
|---|
|  | 31 | const PSZ FileAttrToString(ULONG fileAttr); | 
|---|
|  | 32 | VOID FillDirCnr(HWND hwndCnr, CHAR *pszDirectory, DIRCNRDATA *pdcd, | 
|---|
|  | 33 | PULONGLONG pullBytes); | 
|---|
|  | 34 | VOID FillTreeCnr(HWND hwndCnr, HWND hwndParent); | 
|---|
|  | 35 | VOID ProcessDirectory(const HWND hwndCnr, const PCNRITEM pciParent, | 
|---|
|  | 36 | const CHAR *szDirBase, const BOOL filestoo, | 
|---|
|  | 37 | const BOOL recurse, const BOOL partial, | 
|---|
|  | 38 | CHAR *stopflag, DIRCNRDATA *pdcd, | 
|---|
|  | 39 | PULONG pullTotalFiles, PULONGLONG pullTotalBytes); | 
|---|
|  | 40 | ULONGLONG FillInRecordFromFFB(HWND hwndCnr, PCNRITEM pci, | 
|---|
|  | 41 | const PSZ pszDirectory, | 
|---|
|  | 42 | const PFILEFINDBUF4L pffb, const BOOL partial, | 
|---|
|  | 43 | DIRCNRDATA *pdcd); | 
|---|
|  | 44 | ULONGLONG FillInRecordFromFSA(HWND hwndCnr, PCNRITEM pci, | 
|---|
|  | 45 | const PSZ pszFileName, const PFILESTATUS4L pfsa4, | 
|---|
|  | 46 | const BOOL partial, DIRCNRDATA *pdcd); | 
|---|
|  | 47 | VOID FreeCnrItem(HWND hwnd, PCNRITEM pci); | 
|---|
|  | 48 | VOID FreeCnrItemList(HWND hwnd, PCNRITEM pciFirst); | 
|---|
|  | 49 | VOID FreeCnrItemData(PCNRITEM pci); | 
|---|
|  | 50 | INT RemoveCnrItems(HWND hwnd, PCNRITEM pci, USHORT usCnt, USHORT usFlags); | 
|---|
|  | 51 |  | 
|---|
| [1207] | 52 | // Data declarations | 
|---|
|  | 53 | extern CHAR *FM3Tools; | 
|---|
|  | 54 | extern CHAR *WPProgram; | 
|---|
|  | 55 | extern HPOINTER hptrEnv; | 
|---|
|  | 56 | extern HPOINTER hptrHidden; | 
|---|
|  | 57 | extern HPOINTER hptrReadonly; | 
|---|
|  | 58 | extern HPOINTER hptrSystem; | 
|---|
|  | 59 |  | 
|---|
| [907] | 60 | #endif // FILLDIR_H | 
|---|