mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 16:47:17 +00:00
include: Define FILE_DISPOSITION_INFORMATION_EX and friends.
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
This commit is contained in:
parent
9f2cf25c2d
commit
dedd130d9e
|
@ -4336,6 +4336,7 @@ NTSTATUS WINAPI NtQueryInformationFile( HANDLE handle, IO_STATUS_BLOCK *io,
|
|||
0, /* FileReplaceCompletionInformation */
|
||||
0, /* FileHardLinkFullIdInformation */
|
||||
0, /* FileIdExtdBothDirectoryInformation */
|
||||
0, /* FileDispositionInformationEx */
|
||||
};
|
||||
|
||||
struct stat st;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue