S
sfp
Unregistered / Unconfirmed
GUEST, unregistred user!
long WINAPI Sms_SendEx3(SmsSend3 * pSms , long lCount , BOOL bWaitRet);
typedef struct _SmsSend3
{
long lSmsID
//发送成功后返回的ID号
long reserve
//保留,暂未用到
char szSendExNum[24]
//发送扩展号码
char szMobile[24]
//目标手机号码
char szMsg[168]
//短信内容
char szTimer[32]
//定时时间,如果为空,则为立即发送,时间的格式:2005-08-01 12:08:00
}SmsSend3;
SmsSend3 sms[2]={0}
//发送两条信息
strcpy(sms[0].szSendExNum, "001"
);
strcpy(sms[0].szMobile , m_strMobile );
strcpy(sms[0].szMsg , m_strMsg );
strcpy(sms[0].szTimer , "2005-08-19 14:50:05"
);
sms[1] = sms[0]
//发送两条相同的信息
long lRet = Sms_SendEx3( sms,2,true);
typedef struct _SmsSend3
{
long lSmsID
//发送成功后返回的ID号
long reserve
//保留,暂未用到
char szSendExNum[24]
//发送扩展号码
char szMobile[24]
//目标手机号码
char szMsg[168]
//短信内容
char szTimer[32]
//定时时间,如果为空,则为立即发送,时间的格式:2005-08-01 12:08:00
}SmsSend3;
SmsSend3 sms[2]={0}
//发送两条信息
strcpy(sms[0].szSendExNum, "001"
);
strcpy(sms[0].szMobile , m_strMobile );
strcpy(sms[0].szMsg , m_strMsg );
strcpy(sms[0].szTimer , "2005-08-19 14:50:05"
);
sms[1] = sms[0]
//发送两条相同的信息
long lRet = Sms_SendEx3( sms,2,true);