revert my change from r17909. Thx hbirr to fix the bug with 17910.

svn path=/trunk/; revision=17911
This commit is contained in:
Magnus Olsen 2005-09-18 13:36:29 +00:00
parent 0cfadced6f
commit ed7f5f3976

View file

@ -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))
{