dll: FSP_FILE_SYSTEM_INTERFACE method changes and C++ support

This commit is contained in:
Bill Zissimopoulos
2016-01-13 12:15:03 -08:00
parent 5d558334cd
commit ebc8016787
3 changed files with 58 additions and 14 deletions

View File

@@ -21,6 +21,10 @@
#include <winfsp/fsctl.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* File System
*/
@@ -46,9 +50,12 @@ typedef struct _FSP_FILE_SYSTEM_INTERFACE
PSECURITY_DESCRIPTOR SecurityDescriptor, SIZE_T *PSecurityDescriptorSize);
NTSTATUS (*Create)(FSP_FILE_SYSTEM *FileSystem,
FSP_FSCTL_TRANSACT_REQ *Request,
PWSTR FileName, BOOLEAN CaseSensitive, DWORD CreateOptions,
DWORD FileAttributes, PSECURITY_DESCRIPTOR SecurityDescriptor, UINT64 AllocationSize,
FSP_FILE_NODE_INFO *Info);
NTSTATUS (*Open)(FSP_FILE_SYSTEM *FileSystem,
FSP_FSCTL_TRANSACT_REQ *Request,
PWSTR FileName, BOOLEAN CaseSensitive, DWORD CreateOptions,
FSP_FILE_NODE_INFO *Info);
NTSTATUS (*Overwrite)(FSP_FILE_SYSTEM *FileSystem,
FSP_FSCTL_TRANSACT_REQ *Request,
@@ -179,4 +186,8 @@ FSP_API VOID FspPathCombine(PWSTR Prefix, PWSTR Suffix);
FSP_API NTSTATUS FspNtStatusFromWin32(DWORD Error);
FSP_API VOID FspDebugLog(const char *format, ...);
#ifdef __cplusplus
}
#endif
#endif