SECRegistry::Replace

BOOLSECRegistry::Replace(LPCTSTRlpszSubkeyName, LPCTSTRlpszSubkeyName, LPCTSTRlpszNewFile)

Encapsulates the RegReplaceKey API.

Defined in: SECREG.CPP

Return Value

Nonzero if value was successfully replaced, otherwise 0.

Parameters

lpszSubkeyName

Name of subkey to replace.

lpszSubkeyName

LPCTSTR lpszNewFile Name of the file storing registration information.

lpszNewFile

LPCTSTR lpszBackupFile Name of the file to store a backup of the key being

Comments

Replaces the subkey data with the information contained in the lpszNewFile. Encapsulates the RegReplaceKey API.

Developer Notes

For 32-bit only.

See Also

SECRegistry  Load  UnLoad  Restore