mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-27 04:52:50 -05:00
sys, dll: add AllocationSize, FileSize in Response::Rsp::Create::Opened
This commit is contained in:
@@ -153,6 +153,8 @@ typedef struct
|
||||
{
|
||||
UINT64 UserContext; /* open file user context (unique file id) */
|
||||
UINT64 UserContext2; /* kernel file object user context (only low 32 bits valid) */
|
||||
UINT64 AllocationSize; /* file allocation size */
|
||||
UINT64 FileSize; /* file size */
|
||||
UINT32 GrantedAccess; /* FILE_{READ_DATA,WRITE_DATA,etc.} */
|
||||
} Opened;
|
||||
/* IoStatus.Status == STATUS_REPARSE */
|
||||
|
@@ -28,7 +28,13 @@ typedef struct _FSP_FILE_SYSTEM FSP_FILE_SYSTEM;
|
||||
typedef struct _FSP_FILE_NODE
|
||||
{
|
||||
PVOID UserContext;
|
||||
DWORD Flags;
|
||||
UINT64 AllocationSize;
|
||||
UINT64 FileSize;
|
||||
struct
|
||||
{
|
||||
BOOLEAN DeleteOnClose:1;
|
||||
BOOLEAN DeletePending:1;
|
||||
} Flags;
|
||||
struct
|
||||
{
|
||||
ULONG OpenCount;
|
||||
|
Reference in New Issue
Block a user