YourDefrag
SVN
|
YDWorkThread source file. More...
Defines | |
#define | UNUSED(expr) do { (void)(expr); } while (0) |
Functions | |
void __cdecl | YDShowStatus (struct DefragDataStruct *data) |
Defragmentation show status callback. | |
void __cdecl | YDShowMove (struct ItemStruct *item, ULONG64 clusters, ULONG64 fromLcn, ULONG64 toLcn, ULONG64 fromVcn) |
Defragmentation show move callback. | |
void __cdecl | YDShowAnalyze (struct DefragDataStruct *data, struct ItemStruct *item) |
Analyze show status callback. | |
void __cdecl | YDShowDebug (int level, struct ItemStruct *item, WCHAR *message,...) |
Defragmentation debugging output callback. | |
void __cdecl | YDDrawCluster (struct DefragDataStruct *data, ULONG64 clusterStart, ULONG64 clusterEnd, int color) |
Defragmentation progress visualization callback. | |
void __cdecl | YDClearScreen (WCHAR *format,...) |
Defragmentation progress visualization callback. |
YDWorkThread source file.
#define UNUSED | ( | expr | ) | do { (void)(expr); } while (0) |
void __cdecl YDClearScreen | ( | WCHAR * | format, |
... | |||
) |
Defragmentation progress visualization callback.
This function is called by jkDefrag.dll code when it's required to clear a screen duging defragmentation.
[in] | format | Text message. |
void __cdecl YDDrawCluster | ( | struct DefragDataStruct * | data, |
ULONG64 | clusterStart, | ||
ULONG64 | clusterEnd, | ||
int | color | ||
) |
Defragmentation progress visualization callback.
This function is called by jkDefrag.dll code when it's required to show colored disk mask during defragmentation.
[in] | data | Data representing current state of defragmenter. |
[in] | clusterStart | Beginning of cluster. |
[in] | clusterEnd | End of cluster. |
[in] | color | Color the cluster should be drawn. |
void __cdecl YDShowAnalyze | ( | struct DefragDataStruct * | data, |
struct ItemStruct * | item | ||
) |
Analyze show status callback.
This function is called by jkDefrag.dll code when it's required to show a state if analyze poccess.
[in] | data | Data representing current state of defragmenter. |
[in] | item | Current data item being processed. |
void __cdecl YDShowDebug | ( | int | level, |
struct ItemStruct * | item, | ||
WCHAR * | message, | ||
... | |||
) |
Defragmentation debugging output callback.
This function is called by jkDefrag.dll code when it's required to show debugging output during defragmentation.
[in] | level | Logging level. |
[in] | item | Current data item being processed. |
[in] | message | Text message. |
void __cdecl YDShowMove | ( | struct ItemStruct * | item, |
ULONG64 | clusters, | ||
ULONG64 | fromLcn, | ||
ULONG64 | toLcn, | ||
ULONG64 | fromVcn | ||
) |
Defragmentation show move callback.
This function is called by jkDefrag.dll code when it's required to show a data move process during defragmentation.
[in] | item | Current data item being moved. |
[in] | clusters | Size of data fragment in clusters. |
[in] | fromLcn | Initial position of data fragment. |
[in] | toLcn | Resulting position of data fragment. |
[in] | fromVcn | File offset. |
void __cdecl YDShowStatus | ( | struct DefragDataStruct * | data | ) |
Defragmentation show status callback.
This function is called by jkDefrag.dll code when it's required to show a change of defragmenter state.
[in] | data | Data representing current state of defragmenter. |