Disable ScanNTFSStreams calls because this function exclusively calls BackupRead that is not implemented on ReactOS, and as a consequence makes lots of debug spam when browsing the start (sub-)menus.
svn path=/trunk/; revision=63914
if (GetFileInformationByHandle(hFile, &entry->_bhfi))
entry->_bhfi_valid = true;
if (GetFileInformationByHandle(hFile, &entry->_bhfi))
entry->_bhfi_valid = true;
+#ifdef BACKUP_READ_IMPLEMENTED
if (ScanNTFSStreams(entry, hFile))
entry->_scanned = true; // There exist named NTFS sub-streams in this file.
if (ScanNTFSStreams(entry, hFile))
entry->_scanned = true; // There exist named NTFS sub-streams in this file.
+#ifdef BACKUP_READ_IMPLEMENTED
int ScanNTFSStreams(Entry* entry, HANDLE hFile)
{
PVOID ctx = 0;
int ScanNTFSStreams(Entry* entry, HANDLE hFile)
{
PVOID ctx = 0;
void WinDirectory::read_directory(int scan_flags)
void WinDirectory::read_directory(int scan_flags)
if (GetFileInformationByHandle(hFile, &entry->_bhfi))
entry->_bhfi_valid = true;
if (GetFileInformationByHandle(hFile, &entry->_bhfi))
entry->_bhfi_valid = true;
+#ifdef BACKUP_READ_IMPLEMENTED
if (ScanNTFSStreams(entry, hFile))
entry->_scanned = true; // There exist named NTFS sub-streams in this file.
if (ScanNTFSStreams(entry, hFile))
entry->_scanned = true; // There exist named NTFS sub-streams in this file.
// Martin Fuchs, 23.07.2003
//
// Martin Fuchs, 23.07.2003
//
+/* Enable this when the BackupRead API is implemented */
+// #define BACKUP_READ_IMPLEMENTED
/// Windows file system file-entry
struct WinEntry : public Entry
/// Windows file system file-entry
struct WinEntry : public Entry
virtual Entry* find_entry(const void*);
};
virtual Entry* find_entry(const void*);
};
+#ifdef BACKUP_READ_IMPLEMENTED
extern int ScanNTFSStreams(Entry* entry, HANDLE hFile);
extern int ScanNTFSStreams(Entry* entry, HANDLE hFile);