An application uses this function to cancel registration for Short Message Service (SMS) notifications.
HRESULT SmsClearMessageNotification ( const LPCTSTR tszProtocolName );
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
The method completed successfully.
For information about additional return values, see SMS Specific Errors.