Update
Updates a profile collection.
Syntax
HRESULT Update
([in] IProfileCollection* pProfileCollection)
;
Parameters
pProfileCollection
[in] A pointer to the IProfileCollection object that contains a collection of profiles to update.
Return Value
The following table describes possible return values.
Return Value | Description |
---|---|
S_OK |
The function successfully updated the IProfileCollection. |
E_INVALIDARG |
One or more arguments are invalid. |
E_WPRC_FAILED_TO_UPDATE_PROFILE |
The library failed to update a profile in the profile collection. Use IControlErrorInfo to obtain detailed error information. |