次の方法で共有


SmsGetBroadcastMsgRanges (Compact 2013)

3/26/2014

An application uses this function to get the range of broadcast messages that the mobile will listen for.

Syntax

HRESULT SmsGetBroadcastMsgRanges (
    SMS_BROADCAST_RANGES* const psmsbrBroadcastRanges
);

Parameters

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

Return Value

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

Remarks

This function is not supported for CDMA.

Requirements

Header

sms.h

Library

sms.lib

See Also

Reference

Short Message Service Functions
SmsGetProfile
SMS Specific Errors
SmsSetBroadcastMsgRanges
SMS_BROADCAST_RANGES