mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
revert my change from r17909. Thx hbirr to fix the bug with 17910.
svn path=/trunk/; revision=17911
This commit is contained in:
parent
0cfadced6f
commit
ed7f5f3976
1 changed files with 1 additions and 7 deletions
|
@ -869,18 +869,12 @@ GetFileAttributesExW(LPCWSTR lpFileName,
|
|||
NULL);
|
||||
|
||||
/* Open the file */
|
||||
|
||||
|
||||
Status = NtOpenFile (&FileHandle,
|
||||
SYNCHRONIZE | GENERIC_ALL,
|
||||
SYNCHRONIZE | FILE_READ_ATTRIBUTES,
|
||||
&ObjectAttributes,
|
||||
&IoStatusBlock,
|
||||
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
|
||||
FILE_SYNCHRONOUS_IO_NONALERT);
|
||||
|
||||
|
||||
|
||||
|
||||
RtlFreeUnicodeString (&FileName);
|
||||
if (!NT_SUCCESS (Status))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue