MSDN Library

SmsSetSMSC

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

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


HRESULT SmsSetSMSC (
const SMS_ADDRESS *psmsaSMSCAddress);

psmsaSMSCAddress

The new SMSC address.

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 and SMS General Errors.

This is a privileged function.

This function is not supported for CDMA.

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