IContact::CommitChanges method (icontact.h)
Saves changes made to this contact to the contact file.
Syntax
HRESULT CommitChanges(
[in] DWORD dwCommitFlags
);
Parameters
[in] dwCommitFlags
Type: DWORD
Reserved parameter. Must be 0.
Return value
Type: HRESULT
Returns one of the following values:
Return code | Description |
---|---|
|
Changes written to disk successfully. |
|
Contact not loaded from a file path. |
|
Another process modified the file in a way incompatible with changes to this contact. |
Remarks
If the contact changes between creation and IContact::CommitChanges and an incompatible change was made on disk, may return ERROR_SHARING_VIOLATION.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | icontact.h (include Contact.h) |
DLL | Wab32.dll (Version 6.0 or later) |