ReactOS  0.4.12-dev-75-g00dd17e
fsutil.h
Go to the documentation of this file.
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[]);
10 
11 typedef struct
12 {
14  const TCHAR * Command;
15  const TCHAR * Desc;
16 } HandlerItem;
17 
18 int FindHandler(int argc,
19  const TCHAR *argv[],
21  int HandlerListCount,
22  void (*UsageHelper)(const TCHAR *));
23 
25  BOOLEAN AllowRemote,
26  BOOLEAN NtfsOnly);
27 
28 void PrintDefaultUsage(const TCHAR * Command,
29  const TCHAR * SubCommand,
30  HandlerItem * HandlersList,
31  int HandlerListCount);
32 
34 
35 #endif
static int argc
Definition: ServiceArgs.c:12
Definition: shell.h:41
static char ** argv
Definition: ServiceArgs.c:11
const TCHAR * Desc
Definition: fsutil.h:15
static HandlerItem HandlersList[]
Definition: dirty.c:15
unsigned char BOOLEAN
void PrintDefaultUsage(const TCHAR *Command, const TCHAR *SubCommand, HandlerItem *HandlersList, int HandlerListCount)
Definition: common.c:102
char TCHAR
Definition: xmlstorage.h:189
int FindHandler(int argc, const TCHAR *argv[], HandlerItem *HandlersList, int HandlerListCount, void(*UsageHelper)(const TCHAR *))
Definition: common.c:11
const TCHAR * Command
Definition: fsutil.h:14
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOL Error
Definition: chkdsk.c:66
int() HandlerProc(int argc, const TCHAR *argv[])
Definition: fsutil.h:8
int PrintErrorMessage(DWORD Error)
Definition: common.c:123
HANDLE OpenVolume(const TCHAR *Volume, BOOLEAN AllowRemote, BOOLEAN NtfsOnly)
Definition: common.c:49
HandlerProc * pHandlerProc
Definition: fsutil.h:9
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:29
pHandlerProc Handler
Definition: fsutil.h:13