3.2.4.2.31.2 OverwriteOnCommit (put) (Opnum 23)
The OverwriteOnCommit (put) method sets the overwrite-on-commit property of the imported file screen template.
-
[propput, id(FSRM_PROPERTY(FSRM_DISPID_FILESCREEN_TEMPLATE_IMPORTED | 0x01))] HRESULT OverwriteOnCommit( [in] VARIANT_BOOL overwrite );
overwrite: Contains the overwrite-on-commit property of the imported file screen template.
Return Values: The method MUST return zero on success, or a nonzero error code on failure.
-
Return value/code
Description
0x80070057
E_INVALIDARG
The overwrite parameter is NULL.
The server MUST use overwrite as the File Screen.Overwrite on commit property of the imported file screen template or return a nonzero error code.
The server MUST set overwrite to the value VARIANT_TRUE if the File Screen.Overwrite on commit property of the imported file screen template is true; otherwise, overwrite is set to VARIANT_FALSE.