Ignore:
Timestamp:
10/17/07 09:02:10 (7 years ago)
Author:
lowjoel
Message:

Disable file buffering on all levels when wiping data streams.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EraserDll/NTFS.cpp

    r53 r65  
    225225                                      (context->m_uTestMode) ? 
    226226                                        FILE_SHARE_READ | FILE_SHARE_WRITE : 0, 
    227                                       NULL, OPEN_EXISTING, 0, NULL); 
     227                                      NULL, OPEN_EXISTING, 
     228                                      FILE_FLAG_WRITE_THROUGH | FILE_FLAG_NO_BUFFERING, NULL); 
    228229 
    229230        if (context->m_hFile != INVALID_HANDLE_VALUE) { 
Note: See TracChangeset for help on using the changeset viewer.