Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / base / applications / cmdutils / fsutil / fsutil.h
1 #ifndef __FSUTIL_H__
2 #define __FSUTIL_H__
3
4 #include <windows.h>
5 #include <tchar.h>
6 #include <stdio.h>
7
8 typedef int (HandlerProc)(int argc, const TCHAR *argv[]);
9 typedef HandlerProc * pHandlerProc;
10
11 typedef struct
12 {
13 pHandlerProc Handler;
14 const TCHAR * Command;
15 const TCHAR * Desc;
16 } HandlerItem;
17
18 int FindHandler(int argc,
19 const TCHAR *argv[],
20 HandlerItem * HandlersList,
21 int HandlerListCount,
22 void (*UsageHelper)(const TCHAR *));
23
24 HANDLE OpenVolume(const TCHAR * Volume,
25 BOOLEAN AllowRemote,
26 BOOLEAN NtfsOnly);
27
28 void PrintDefaultUsage(const TCHAR * Command,
29 const TCHAR * SubCommand,
30 HandlerItem * HandlersList,
31 int HandlerListCount);
32
33 int PrintErrorMessage(DWORD Error);
34
35 #endif