source: trunk/dll/filldir.h@ 1036

Last change on this file since 1036 was 907, checked in by Steven Levine, 18 years ago

Avoid out of memory traps in Compare Directories
Rework Compare Directories progress display for 2 second update rate
Start refactoring to reduce dependence on fm3dll.h
Add timer services (IsITimerExpired etc.)

File size: 1.6 KB
Line 
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
30VOID EmptyCnr(HWND hwnd);
31const PSZ FileAttrToString(ULONG fileAttr);
32VOID FillDirCnr(HWND hwndCnr, CHAR *pszDirectory, DIRCNRDATA *pdcd,
33 PULONGLONG pullBytes);
34VOID FillTreeCnr(HWND hwndCnr, HWND hwndParent);
35VOID 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);
40ULONGLONG FillInRecordFromFFB(HWND hwndCnr, PCNRITEM pci,
41 const PSZ pszDirectory,
42 const PFILEFINDBUF4L pffb, const BOOL partial,
43 DIRCNRDATA *pdcd);
44ULONGLONG FillInRecordFromFSA(HWND hwndCnr, PCNRITEM pci,
45 const PSZ pszFileName, const PFILESTATUS4L pfsa4,
46 const BOOL partial, DIRCNRDATA *pdcd);
47VOID FreeCnrItem(HWND hwnd, PCNRITEM pci);
48VOID FreeCnrItemList(HWND hwnd, PCNRITEM pciFirst);
49VOID FreeCnrItemData(PCNRITEM pci);
50INT RemoveCnrItems(HWND hwnd, PCNRITEM pci, USHORT usCnt, USHORT usFlags);
51
52#endif // FILLDIR_H
Note: See TracBrowser for help on using the repository browser.