CRegKey::Flush

Call this method to write all of the attributes of the open registry key into the registry.

LONG Flush( ) throw( );

Return Value

If the method succeeds, the return value is ERROR_SUCCESS. If the method fails, the return value is a nonzero error code defined in WINERROR.H.

Remarks

For more information, see RegEnumFlush in the Windows SDK.

Requirements

Header: atlbase.h

See Also

Concepts

CRegKey Class

CRegKey Members