SECRegistry::Restore

BOOLSECRegistry::Restore(LPCTSTRlpszSavedTreeFile, const DWORDdwVolatilityFlags)

Encapsulates the RegRestoreKey API.

Defined in: SECREG.CPP

Return Value

Nonzero if key was successfully restored, otherwise 0.

Parameters

lpszSavedTreeFile

Name of file with registry information.

dwVolatilityFlags

Specifies volatility of the key.

Comments

Overwrites the current registry key with the information contained in the saved tree file. Encapsulates the RegRestoreKey API.

Developer Notes

For 32-bit only.

See Also

SECRegistry  Load  Replace