Share via


SmsSetBroadcastMsgRanges (Compact 2013)

3/26/2014

Deprecated.

Use this function to set the range of broadcast messages that the mobile will listen for.

This function is deprecated and replaced by 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 SmsSetBroadcastMsgRanges (
const SMS_BROADCAST_RANGES* const psmsbrBroadcastRanges
);

Parameters

  • psmsbrBroadcastRanges
    Structure indicating the ranges of IDs that the mobile listens for.

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 CDMA.

Requirements

Header

sms.h

Library

sms.lib

See Also

Reference

Short Message Service Functions
SMS Specific Errors
SMS General Errors
SmsGetBroadcastMsgRanges
SmsSetProfile
SMS_BROADCAST_RANGES