mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +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);
|
NULL);
|
||||||
|
|
||||||
/* Open the file */
|
/* Open the file */
|
||||||
|
|
||||||
|
|
||||||
Status = NtOpenFile (&FileHandle,
|
Status = NtOpenFile (&FileHandle,
|
||||||
SYNCHRONIZE | GENERIC_ALL,
|
SYNCHRONIZE | FILE_READ_ATTRIBUTES,
|
||||||
&ObjectAttributes,
|
&ObjectAttributes,
|
||||||
&IoStatusBlock,
|
&IoStatusBlock,
|
||||||
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
|
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
|
||||||
FILE_SYNCHRONOUS_IO_NONALERT);
|
FILE_SYNCHRONOUS_IO_NONALERT);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
RtlFreeUnicodeString (&FileName);
|
RtlFreeUnicodeString (&FileName);
|
||||||
if (!NT_SUCCESS (Status))
|
if (!NT_SUCCESS (Status))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue