![]() |
UltraDefrag Engine Architecture - Reference Manual - Guides |
|
Functions | |
BOOLEAN | AddFile (short *path, PFILE_BOTH_DIR_INFORMATION pFileInfo) |
Adds a file to the file list. | |
BOOLEAN | UnwantedStuffOnFatOrUdfDetected (PFILE_BOTH_DIR_INFORMATION pFileInfo, PFILENAME pfn) |
Checks, must file be skipped or not. | |
BOOLEAN | ConsoleUnwantedStuffDetected (WCHAR *Path, ULONG *InsideFlag) |
Checks, must file be skipped or not in case when cluster map is not used. | |
int | FindFiles (WCHAR *ParentDirectoryPath) |
Searches recursively for files on the path. | |
BOOLEAN | AddFileToFragmented (PFILENAME pfn) |
Adds a file to the list of fragmented files. | |
void | UpdateFragmentedFilesList (void) |
Removes all unfragmented files from the list of fragmented files. |
BOOLEAN AddFile | ( | short * | path, | |
PFILE_BOTH_DIR_INFORMATION | pFileInfo | |||
) |
Adds a file to the file list.
[in] | path | the full path of the file. |
[in] | pFileInfo | pointer to the structure containing a file attributes. |
Definition at line 191 of file findfiles.c.
References DumpFile(), MarkFileSpace(), and UnwantedStuffOnFatOrUdfDetected().
Referenced by FindFiles().
BOOLEAN UnwantedStuffOnFatOrUdfDetected | ( | PFILE_BOTH_DIR_INFORMATION | pFileInfo, | |
PFILENAME | pfn | |||
) |
Checks, must file be skipped or not.
[in] | pFileInfo | pointer to the structure containing a file attributes. |
[in] | pfn | pointer to the structure describing the file. |
Definition at line 333 of file findfiles.c.
References IsStringInFilter().
Referenced by AddFile().
BOOLEAN ConsoleUnwantedStuffDetected | ( | WCHAR * | Path, | |
ULONG * | InsideFlag | |||
) |
Checks, must file be skipped or not in case when cluster map is not used.
[in] | Path | the full path of the file. |
[out] | InsideFlag | a boolean value indicating are we inside the directory the context menu handler is running for, or not. |
Definition at line 384 of file findfiles.c.
References IsStringInFilter().
Referenced by FindFiles().
int FindFiles | ( | WCHAR * | ParentDirectoryPath | ) |
Searches recursively for files on the path.
[in] | ParentDirectoryPath | the full path of the directory which must be scanned. |
Definition at line 42 of file findfiles.c.
References AddFile(), CheckForStopEvent(), and ConsoleUnwantedStuffDetected().
Referenced by Analyze().
BOOLEAN AddFileToFragmented | ( | PFILENAME | pfn | ) |
Adds a file to the list of fragmented files.
[in] | pfn | pointer to the structure describing the file. |
Definition at line 275 of file findfiles.c.
Referenced by GenerateFragmentedFilesList().