Partager via


SmsSetSMSC (Compact 2013)

3/26/2014

Deprecated.

Use this function to set the default Short Message Service Center (SMSC) address.

This function is deprecated and replaced with SmsSetProfile. SMS clients developed by Microsoft partners should not use this function. This function exists in Windows Embedded Compact 2013 but will be removed in the following Windows Embedded Compact release.

Syntax

HRESULT SmsSetSMSC (
    const SMS_ADDRESS * const psmsaSMSCAddress
);

Parameters

  • psmsaSMSCAddress
    The new SMSC address.

Return Value

This HRESULT is S_OK for success, a standard error value, or one of the error constants defined in SMS Specific Errors and SMS General Errors.

Remarks

This function is not supported for code division multiple access (CDMA).

Requirements

Header

sms.h

Library

sms.lib

See Also

Reference

Short Message Service Functions
SMS Specific Errors
SMS General Errors
SmsSetProfile