SmsSetBroadcastMsgRanges
Use this function to set the range of broadcast messages the mobile will listen for.
HRESULT SmsSetBroadcastMsgRanges (
const SMS_BROADCAST_RANGES* const psmsbrBroadcastRanges);
Parameters
- psmsbrBroadcastRanges
A structure indicating the ranges of IDs that the mobile listens for.
Return Values
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.
Remarks
This function is not supported for CDMA.
Requirements
Smartphone: Smartphone 2002 and later
Pocket PC: Pocket PC 2002 and later
OS Versions: Windows CE 3.0 and later
Header: sms.h
Library: sms.lib
See Also
Short Message Service Functions | SmsGetBroadcastMsgRanges | SMS_BROADCAST_RANGES
Send Feedback on this topic to the authors