MSDN Library

SmsClearMessageNotification

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

An application uses this function to cancel registration for Short Message Service (SMS) notifications.


HRESULT SmsClearMessageNotification (
const LPCTSTR tszProtocolName
);

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.

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

S_OK

The method completed successfully.

For information about additional return values, see SMS Specific Errors.

This is a privileged function.

Headersms.h
Librarysms.lib
Windows Embedded CEWindows Embedded CE 6.0 and later
Windows MobilePocket PC 2002 and later, Smartphone 2002 and later

Community Additions

Show:
© 2016 Microsoft