-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfile.h
43 lines (35 loc) · 831 Bytes
/
file.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef FILE_H_INCLUDED
#define FILE_H_INCLUDED
#include <windows.h>
#include "dokan.h"
#include "internal.h"
int DOKAN_CALLBACK MxfsCreateFile(
LPCWSTR FileName,
DWORD DesiredAccess,
DWORD ShareMode,
DWORD CreationDisposition,
DWORD FlagsAndAttributes,
PDOKAN_FILE_INFO FileInfo);
int DOKAN_CALLBACK MxfsCreateDirectory(
LPCWSTR FileName,
PDOKAN_FILE_INFO FileInfo);
int DOKAN_CALLBACK MxfsOpenDirectory(
LPCWSTR FileName,
PDOKAN_FILE_INFO FileInfo);
int DOKAN_CALLBACK MxfsCleanup(
LPCWSTR FileName,
PDOKAN_FILE_INFO FileInfo);
int DOKAN_CALLBACK MxfsCloseFile(
LPCWSTR FileName,
PDOKAN_FILE_INFO FileInfo);
typedef struct
{
int Index;
unsigned Length;
BOOL Write, Changed;
//minix_inode Info;
#ifndef NDEBUG
WCHAR DbgBuf[256];
#endif
} FILE_CTX;
#endif // FILE_H_INCLUDED