procedure MakePendingFileRenameOperationsChecksum: String;
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).
var ChecksumBefore, ChecksumAfter: String; begin ChecksumBefore := MakePendingFileRenameOperationsChecksum; // ...run a program... ChecksumAfter := MakePendingFileRenameOperationsChecksum; if ChecksumAfter <> ChecksumBefore then // PendingFileRenameOperations or WININIT.INI changed end;