source: trunk/dll/flesh.h@ 1876

Last change on this file since 1876 was 1876, checked in by Gregg Young, 10 years ago

Eliminate some unnecessary Flesh and UnFlesh calls.Update icon and display name on CD/DVD eject in all cases.
Don't use Flesh thread for floppy drive scans fix them getting mistakenly identified as directories and add nonexistent subdirectories.

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
RevLine 
[1165]1
2/***********************************************************************
3
[1197]4 $Id: flesh.h 1876 2015-10-10 23:42:28Z gyoung $
[1165]5
[1856]6 Drive tree container management
[1165]7
[1197]8 Copyright (c) 1993-98 M. Kimes
[1856]9 Copyright (c) 2008, 2015 Steven H. Levine
[1165]10
[1856]11 07 Aug 15 SHL Rework to use AddFleshWorkRequest rather than direct calls to Stubby/Flesh/Unflesh
[1858]12 19 Aug 15 SHL Allow WaitFleshWorkListEmpty to wait for dependent items
[1863]13 22 Aug 15 GKY Remove recurse scan code.
[1874]14 27 Sep 15 GKY DosSleep times in WaitFleshWorkListEmpty set by caller
[1876]15 10 Oct 15 GKY Don't use Flesh thread for floppy drive scans fix them getting mistakenly identified
16 as directories and add nonexistent subdirectories.
[1165]17
18***********************************************************************/
19
20#if !defined(FLESH_H)
21#define FLESH_H
22
[1856]23BOOL StartFleshWorkThread(VOID);
[1165]24
[1863]25typedef enum {eStubby, eFlesh, eFleshEnv, eUnFlesh} FLESHWORKACTION;
[1856]26
27BOOL IsFleshWorkListEmpty();
28
[1860]29VOID SetFleshFocusPath(PCSZ pszPath);
[1876]30BOOL Flesh(HWND hwndCnr, PCNRITEM pciParent);
31VOID UnFlesh(HWND hwndCnr, PCNRITEM pciParent);
[1856]32#if 0 // 2015-08-03 SHL FIXME debug
[1874]33VOID WaitFleshWorkListEmpty(PCSZ pszDirName, ULONG ulSleep);
[1856]34#else
[1874]35#define WaitFleshWorkListEmpty(pszDirName, ulSleep) WaitFleshWorkListEmptyDbg(pszDirName, ulSleep, __FILE__, __LINE__)
36VOID WaitFleshWorkListEmptyDbg(PCSZ pszDirName, ULONG ulSleep, PCSZ pszSrcFile, UINT uSrcLineNo);
[1856]37#endif
38
39#if 0 // 2015-08-03 SHL FIXME debug
40BOOL AddFleshWorkRequest(HWND hwndCnr, PCNRITEM pci, FLESHWORKACTION action);
41#else
42#define AddFleshWorkRequest(hwnCnr, pciParent, action) AddFleshWorkRequestDbg(hwnCnr, pciParent, action, __FILE__, __LINE__)
43BOOL AddFleshWorkRequestDbg(HWND hwndCnr, PCNRITEM pci, FLESHWORKACTION action, PCSZ pszSrcFile, UINT uSrcLineNo);
44#endif
45
[1207]46// Data declarations
47extern ULONG NoBrokenNotify;
48extern BOOL fFilesInTree;
[1165]49
[1856]50
[1165]51#endif // FLESH_H
Note: See TracBrowser for help on using the repository browser.