- Fix attributes

svn path=/trunk/; revision=38490
This commit is contained in:
Dmitry Chapyshev 2008-12-31 15:09:28 +00:00
parent 8172ef5174
commit 9e6bd133e6

View file

@ -116,15 +116,14 @@ CreateDirectoryW (
(lpSecurityAttributes ? lpSecurityAttributes->lpSecurityDescriptor : NULL));
Status = NtCreateFile (&DirectoryHandle,
FILE_LIST_DIRECTORY | SYNCHRONIZE |
FILE_OPEN_FOR_BACKUP_INTENT,
FILE_LIST_DIRECTORY | SYNCHRONIZE,
&ObjectAttributes,
&IoStatusBlock,
NULL,
FILE_ATTRIBUTE_NORMAL,
FILE_SHARE_READ | FILE_SHARE_WRITE,
FILE_CREATE,
FILE_DIRECTORY_FILE | FILE_SYNCHRONOUS_IO_NONALERT,
FILE_DIRECTORY_FILE | FILE_SYNCHRONOUS_IO_NONALERT | FILE_OPEN_FOR_BACKUP_INTENT,
NULL,
0);