mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 00:20:34 +00:00
Read files in non cached mode, much faster this way
svn path=/trunk/; revision=2557
This commit is contained in:
parent
48908e14cc
commit
8779eb9ec7
1 changed files with 1 additions and 1 deletions
|
@ -2172,7 +2172,7 @@ HANDLE PICE_open (LPCWSTR lpPathName, int iReadWrite)
|
||||||
status = NtOpenFile( &hfile,
|
status = NtOpenFile( &hfile,
|
||||||
dwAccessMask,
|
dwAccessMask,
|
||||||
&ObjectAttributes,
|
&ObjectAttributes,
|
||||||
NULL, dwShareMode, 0);
|
NULL, dwShareMode, FILE_NO_INTERMEDIATE_BUFFERING);
|
||||||
//BUG BUG check status!!!
|
//BUG BUG check status!!!
|
||||||
if( !NT_SUCCESS( status ) ){
|
if( !NT_SUCCESS( status ) ){
|
||||||
DPRINT((0,"PICE_open: NtOpenFile error: %x\n", status));
|
DPRINT((0,"PICE_open: NtOpenFile error: %x\n", status));
|
||||||
|
|
Loading…
Reference in a new issue