SmsClearMessageNotification (Compact 2013)
3/26/2014
An application uses this function to cancel registration for Short Message Service (SMS) notifications.
Syntax
HRESULT SmsClearMessageNotification (
const LPCTSTR tszProtocolName
);
Parameters
- tszProtocolName
Points to a string that indicates for which protocol to deregister notifications. This must match the tszProtocolName member of the SMSREGISTRATIONDATA structure passed in to SmsSetMessageNotification.
Return Value
- E_FAIL
Indicates an unspecified failure.
- E_INVALIDARG
Indicates one or more invalid arguments.
- E_OUTOFMEMORY
Indicates an out of memory error.
- E_UNEXPECTED
Unexpected failure.
- S_OK
The method completed successfully.
For information about additional return values, see SMS Specific Errors.
Requirements
Header |
sms.h |
Library |
sms.lib |
See Also
Reference
Short Message Service Functions
SMSREGISTRATIONDATA
SmsSetMessageNotification
SMS Specific Errors