Getting the date of creation / change of the registry key in C ++

It seems that I can’t find a way to do this, but it seems strange to me that a time stamp will not be set during creation. Does anyone know the way? Target XP platform 32 bit.

Thank.

+3
source share
1 answer

RegQueryInfoKey () states that it can get the last modified time:

lpftLastWriteTime [out, optional]

    A pointer to a FILETIME structure that receives the last write time.
    This parameter can be NULL.

    The function sets the members of the FILETIME structure to indicate
    the last time that the key or any of its value entries is modified.
+7
source

All Articles