EnablePropSave

HRESULT EnablePropSave(
long lOffset, 
BOOL fEnable = TRUE);

Parameters

lOffset

Offset in the user buffer that identifies the property.

fEnable

TRUE to enable a property for save.

Return Code

S_OK

Method succeeded.

E_INVALIDARG 
Returned if a property with the given offset is not found.

Comments

Enables a property for saving. When added, all properties are save-enabled by default. The property will not be persisted if saving is disabled.