source: trunk/dll/flesh.h@ 1857

Last change on this file since 1857 was 1856, checked in by Steven Levine, 10 years ago

Rework Flesh/Stubby etc. to avoid running on thread 1
Should be ready for release after spurious traps resolved
DbgMsg calls retained - delete/disable before release

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1
2/***********************************************************************
3
4 $Id: flesh.h 1856 2015-08-18 17:12:52Z stevenhl $
5
6 Drive tree container management
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2008, 2015 Steven H. Levine
10
11 07 Aug 15 SHL Rework to use AddFleshWorkRequest rather than direct calls to Stubby/Flesh/Unflesh
12
13***********************************************************************/
14
15#if !defined(FLESH_H)
16#define FLESH_H
17
18BOOL StartFleshWorkThread(VOID);
19
20typedef enum {eStubby, eFlesh, eFleshEnv, eUnFlesh, eFillDir} FLESHWORKACTION;
21
22BOOL IsFleshWorkListEmpty();
23
24VOID SetFleshFocusDrive(CHAR chDriveLetter);
25
26#if 0 // 2015-08-03 SHL FIXME debug
27VOID WaitFleshWorkListEmpty();
28#else
29#define WaitFleshWorkListEmpty() WaitFleshWorkListEmptyDbg(__FILE__, __LINE__)
30VOID WaitFleshWorkListEmptyDbg(PCSZ pszSrcFile, UINT uSrcLineNo);
31#endif
32
33#if 0 // 2015-08-03 SHL FIXME debug
34BOOL AddFleshWorkRequest(HWND hwndCnr, PCNRITEM pci, FLESHWORKACTION action);
35#else
36#define AddFleshWorkRequest(hwnCnr, pciParent, action) AddFleshWorkRequestDbg(hwnCnr, pciParent, action, __FILE__, __LINE__)
37BOOL AddFleshWorkRequestDbg(HWND hwndCnr, PCNRITEM pci, FLESHWORKACTION action, PCSZ pszSrcFile, UINT uSrcLineNo);
38#endif
39
40// Data declarations
41extern ULONG NoBrokenNotify;
42extern BOOL fFilesInTree;
43
44
45#endif // FLESH_H
Note: See TracBrowser for help on using the repository browser.