Contents Index Topic Contents | ||
Previous Topic: IDistList::SaveChanges Next Topic: IDistList::SetSearchCriteria |
IDistList::SetProps
HRESULT SetProps( ULONG cValues, LPSPropValue lpPropArray, LPSPropProblemArray FAR * lppProblems );Sets property values on a distribution list object.
- Returns one of the following values:
S_OK The properties were successfully updated. The following values can be returned in the SPropProblemArray structure, but not as return values for SetProps. MAPI_E_BAD_CHARWIDTH Either the MAPI_UNICODE flag was set and the implementation does not support Unicode, or MAPI_UNICODE was not set and the implementation only supports Unicode. MAPI_E_COMPUTED The property cannot be updated because it is read-only, computed by the service provider responsible for the object. MAPI_E_INVALID_TYPE The property type is invalid. MAPI_E_NO_ACCESS An attempt was made to modify a read-only object or to access an object for which the user has insufficient permissions. MAPI_E_NOT_ENOUGH_MEMORY The property cannot be updated because it is larger than the remote procedure call "RPC" buffer size. MAPI_E_UNEXPECTED_TYPE The property type is not the type expected by the calling implementation.
- cValues
- Count of property values to be set. This parameter must not be zero.
- lpPropArray
- Address of an array of SPropValue structures containing the properties to set.
- lppProblems
- Returned problem array. Must be freed by the caller if a non-NULL value is returned.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.