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

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