| Если известно, какой ключ будет создан, то можно определить, когда он последний раз был модифицирован, но это только в NT\2000\XP. Мастдай такое не поддерживает. 
 
 RegQueryInfoKey
 LONG RegQueryInfoKey(
 HKEY hKey,                      // handle to key
 LPTSTR lpClass,                 // class buffer
 LPDWORD lpcClass,               // size of class buffer
 LPDWORD lpReserved,             // reserved
 LPDWORD lpcSubKeys,             // number of subkeys
 LPDWORD lpcMaxSubKeyLen,        // longest subkey name
 LPDWORD lpcMaxClassLen,         // longest class string
 LPDWORD lpcValues,              // number of value entries
 LPDWORD lpcMaxValueNameLen,     // longest value name
 LPDWORD lpcMaxValueLen,         // longest value data
 LPDWORD lpcbSecurityDescriptor, // descriptor length
 PFILETIME lpftLastWriteTime     // last write time
 );
 
 lpftLastWriteTime
 [out] Pointer to a FILETIME structure that receives the last write time. This parameter can be NULL.
 Windows NT/2000/XP: The function sets the members of the FILETIME structure to indicate the last time that the key or any of its value entries was modified.
 
 Windows 95/98/Me: The function sets the members of the FILETIME structure to zero. This is because the system does not keep track of registry key last write time information.
 
 =============================================================================
 Можно также отреагировать немедленно, как только будет изменен ключ при помощи этих ф-ций:
 RegNotifyChangeKeyValue
 CreateEvent
 WaitForSingleObject
 
 А если ты не знаешь, какой ключ будет создаваться, то по-моему, только мониторить ф-ции работы с реестром, перехватывать их вызовы и обрабатывать по-своему. Но как это сделать, не подскажу, геморно это несколько...
 Ответить
       |