Remove
Removes an IProfile object from the collection.
HRESULT Remove
([in] IProfile* pProfile)
;
pProfile
[in] A pointer to the IProfile object to be removed from the collection.
The following table describes possible return values.
Return Value | Description |
---|---|
S_OK |
The function successfully removed the profile from the collection. |
E_INVALIDARG |
The argument is invalid. Use IErrorInfo to obtain detailed error information. |
E_WPRC_FAILED_TO_REMOVE_PROFILE |
The library failed to remove the profile from the collection. Use IErrorInfo to obtain detailed error information. |