mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-14 15:52:47 -05:00
inc: fsctl: FSP_FSCTL_TRANSACT_REQ QueryDirectory: CaseSensitive
This commit is contained in:
@ -173,7 +173,7 @@ typedef struct
|
||||
UINT64 LastWriteTime;
|
||||
UINT64 ChangeTime;
|
||||
UINT64 IndexNumber;
|
||||
UINT32 HardLinks; /* currently unused: set to 0 */
|
||||
UINT32 HardLinks; /* unimplemented: set to 0 */
|
||||
} FSP_FSCTL_FILE_INFO;
|
||||
typedef struct
|
||||
{
|
||||
@ -334,6 +334,7 @@ typedef struct
|
||||
UINT64 Offset;
|
||||
UINT32 Length;
|
||||
FSP_FSCTL_TRANSACT_BUF Pattern;
|
||||
UINT32 CaseSensitive:1; /* FileName comparisons should be case-sensitive */
|
||||
} QueryDirectory;
|
||||
struct
|
||||
{
|
||||
|
@ -1002,7 +1002,9 @@ static inline
|
||||
BOOLEAN FspFileSystemIsOperationCaseSensitive(VOID)
|
||||
{
|
||||
FSP_FSCTL_TRANSACT_REQ *Request = FspFileSystemGetOperationContext()->Request;
|
||||
return FspFsctlTransactCreateKind == Request->Kind && Request->Req.Create.CaseSensitive;
|
||||
return
|
||||
FspFsctlTransactCreateKind == Request->Kind && Request->Req.Create.CaseSensitive ||
|
||||
FspFsctlTransactQueryDirectoryKind == Request->Kind && Request->Req.QueryDirectory.CaseSensitive;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user