The share disposition isn't necessary for FILE_READ_ATTRIBUTES.

svn path=/trunk/; revision=17912
This commit is contained in:
Hartmut Birr 2005-09-18 13:46:37 +00:00
parent ed7f5f3976
commit dbb79dd925

View file

@ -873,7 +873,7 @@ GetFileAttributesExW(LPCWSTR lpFileName,
SYNCHRONIZE | FILE_READ_ATTRIBUTES,
&ObjectAttributes,
&IoStatusBlock,
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
0,
FILE_SYNCHRONOUS_IO_NONALERT);
RtlFreeUnicodeString (&FileName);
if (!NT_SUCCESS (Status))