CPropExchange::ExchangeVersion

BOOL ExchangeVersion( DWORD& dwVersionLoaded, DWORD dwVersionDefault, BOOL bConvert );

Return Value

Nonzero if the function succeeded; 0 otherwise.

Parameters

dwVersionLoaded

Reference to a variable where the version number of the persistent data being loaded will be stored.

dwVersionDefault

The current version number of the control.

bConvert

Indicates whether to convert persistent data to the current version or keep it at the same version that was loaded.

Remarks

Called by the framework to handle persistence of a version number.

CPropExchange OverviewClass MembersHierarchy Chart

See Also   COleControl::ExchangeVersion