Pascal Scripting: MakePendingFileRenameOperationsChecksum
Prototype:
procedure MakePendingFileRenameOperationsChecksum: String;
Description:
Calculates a checksum of the current PendingFileRenameOperations registry value. The caller can use this checksum to determine if PendingFileRenameOperations or WININIT.INI was changed (perhaps by another program).
Example:
var ChecksumBefore, ChecksumAfter: String; begin ChecksumBefore := MakePendingFileRenameOperationsChecksum; // ...run a program... ChecksumAfter := MakePendingFileRenameOperationsChecksum; if ChecksumAfter <> ChecksumBefore then // PendingFileRenameOperations or WININIT.INI changed end;