1 |
|
---|
2 | /***********************************************************************
|
---|
3 |
|
---|
4 | $Id: $
|
---|
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 |
|
---|
52 | #endif // FILLDIR_H
|
---|