Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
dedd130d
Commit
dedd130d
authored
May 01, 2023
by
Joel Holdsworth
Committed by
Alexandre Julliard
Jun 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Define FILE_DISPOSITION_INFORMATION_EX and friends.
Signed-off-by:
Joel Holdsworth
<
joel@airwebreathe.org.uk
>
parent
9f2cf25c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
file.c
dlls/ntdll/unix/file.c
+1
-0
winternl.h
include/winternl.h
+24
-0
No files found.
dlls/ntdll/unix/file.c
View file @
dedd130d
...
...
@@ -4336,6 +4336,7 @@ NTSTATUS WINAPI NtQueryInformationFile( HANDLE handle, IO_STATUS_BLOCK *io,
0
,
/* FileReplaceCompletionInformation */
0
,
/* FileHardLinkFullIdInformation */
0
,
/* FileIdExtdBothDirectoryInformation */
0
,
/* FileDispositionInformationEx */
};
struct
stat
st
;
...
...
include/winternl.h
View file @
dedd130d
...
...
@@ -1255,6 +1255,19 @@ typedef enum _FILE_INFORMATION_CLASS {
FileReplaceCompletionInformation
,
FileHardLinkFullIdInformation
,
FileIdExtdBothDirectoryInformation
,
FileDispositionInformationEx
,
FileRenameInformationEx
,
FileRenameInformationExBypassAccessCheck
,
FileDesiredStorageClassInformation
,
FileStatInformation
,
FileMemoryPartitionInformation
,
FileStatLxInformation
,
FileCaseSensitiveInformation
,
FileLinkInformationEx
,
FileLinkInformationExBypassAccessCheck
,
FileStorageReserveIdInformation
,
FileCaseSensitiveInformationForceAccessCheck
,
FileKnownFolderInformation
,
FileMaximumInformation
}
FILE_INFORMATION_CLASS
,
*
PFILE_INFORMATION_CLASS
;
...
...
@@ -1424,6 +1437,17 @@ typedef struct _FILE_DISPOSITION_INFORMATION {
BOOLEAN
DoDeleteFile
;
}
FILE_DISPOSITION_INFORMATION
,
*
PFILE_DISPOSITION_INFORMATION
;
typedef
struct
_FILE_DISPOSITION_INFORMATION_EX
{
ULONG
Flags
;
}
FILE_DISPOSITION_INFORMATION_EX
,
*
PFILE_DISPOSITION_INFORMATION_EX
;
#define FILE_DISPOSITION_DO_NOT_DELETE 0x00000000
#define FILE_DISPOSITION_DELETE 0x00000001
#define FILE_DISPOSITION_POSIX_SEMANTICS 0x00000002
#define FILE_DISPOSITION_FORCE_IMAGE_SECTION_CHECK 0x00000004
#define FILE_DISPOSITION_ON_CLOSE 0x00000008
#define FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE 0x00000010
typedef
struct
_FILE_POSITION_INFORMATION
{
LARGE_INTEGER
CurrentByteOffset
;
}
FILE_POSITION_INFORMATION
,
*
PFILE_POSITION_INFORMATION
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment