SMS_PROFILE (Compact 2013)
3/26/2014
This structure defines the fields used for a provider profile.
Syntax
typedef struct _smsprofile_tag
{
DWORD dwSize;
DWORD dwParams;
DWORD dwBroadcastRangeOffset;
SMS_ADDRESS smsaSMSCAddress;
SMS_ADDRESS smsaPhoneNumber;
DWORD dwBroadcastMsgLangs;
DWORD dwNumRanges;
BOOL bAcceptBroadCast;
DWORD dwSmsCapability;
} SMS_PROFILE, *LPSMS_PROFILE ;
Members
- [in] dwSize
Size of this structure in bytes.
[in,out] dwParams
Bitwise combination of flags indicating which fields of this structure are valid.Name
Value
Description
SMS_PARAM_PROFILE_SMSC_ADDRESS
0x00000001
The smsaSMSCAddress field is valid.
SMS_PARAM_PROFILE_SMSC_PHONENUMBER
0x00000002
The smsaPhoneNumber field is valid.
SMS_PARAM_PROFILE_BROADCASTMSGRANGE
0x00000004
The dwNumRanges and dwBroadcastRangeOffset fields are valid.
SMS_PARAM_PROFILE_BROADCASTMSGLANG
0x00000008
The dwBroadcastMsgLangs field is valid.
SMS_PARAM_PROFILE_ACCEPTBROADCAST
0x00000010
The bAcceptBroadCast field is valid.
SMS_PARAM_PROFILE_CAPABILITY
0x00000020
The dwSmsCapability field is valid.
SMS_PARAM_PROFILE_ALL
0x0000003F
All fields are valid.
- [in,out] dwBroadcastRangeOffset
An offset to an array of SMS_RANGE structures.
- [in,out] smsaSMSCAddress
An SMSC address indicating which Short Message Service Center (SMSC) the message will be routed through. If NULL (recommended), the user default SMSC will be used.
- [in,out] smsaPhoneNumber
The current phone number used to send SMS.
- [in,out] dwBroadcastMsgLangs
The supported broadcast languages.
- [in,out] dwNumRanges
The number of SMS_RANGE structures in the dwBroadcastRangeOffset data.
- [in,out] bAcceptBroadCast
TRUE to accept broadcast messages, FALSE otherwise.
- [out]dwSmsCapability
A read-only bitwise combination of SMS Capability Support Flag Constants values.
Requirements
Header |
sms.h |
See Also
Reference
Short Message Service Structures
SMS Capability Support Flag Constants
SMS_RANGE
SmsGetSMSC
SmsSetSMSC