mirror of
https://github.com/winfsp/winfsp.git
synced 2025-09-13 04:38:30 -05:00
sys & dll: Added FlushOnCleanup volume param
This commit is contained in:
@@ -250,7 +250,8 @@ enum
|
||||
UINT32 StreamInfoTimeout; /* stream info timeout (millis); overrides FileInfoTimeout */\
|
||||
UINT32 EaTimeout; /* EA timeout (millis); overrides FileInfoTimeout */\
|
||||
UINT32 FsextControlCode;\
|
||||
UINT32 Reserved32[1];\
|
||||
UINT32 FlushOnCleanup:1;\
|
||||
UINT32 Reserved32:31;\
|
||||
UINT64 Reserved64[2];
|
||||
typedef struct
|
||||
{
|
||||
|
@@ -620,6 +620,14 @@ public:
|
||||
{
|
||||
_VolumeParams.FlushAndPurgeOnCleanup = !!FlushAndPurgeOnCleanup;
|
||||
}
|
||||
BOOLEAN FlushOnCleanup()
|
||||
{
|
||||
return _VolumeParams.FlushOnCleanup;
|
||||
}
|
||||
VOID SetFlushOnCleanup(BOOLEAN FlushOnCleanup)
|
||||
{
|
||||
_VolumeParams.FlushOnCleanup = !!FlushOnCleanup;
|
||||
}
|
||||
PWSTR Prefix()
|
||||
{
|
||||
return _VolumeParams.Prefix;
|
||||
|
Reference in New Issue
Block a user