Syntax
VMINT16 vm_gsm_sms_get_box_size(
    VM_GSM_SMS_BOX box_type
);
ContentsIndex
PreviousUpNext
vm_gsm_sms_get_box_size
Example
Syntax
VMINT16 vm_gsm_sms_get_box_size(
    VM_GSM_SMS_BOX box_type
);
Description

Gets number of the messages in a box list

Parameters
Parameters 
Description 
VM_GSM_SMS_BOX box_type 
[IN] Specifies the message box type. 
Returns

The number of messages, if non-negative. It returns negative value, if there 

is an error.

Example
void custom_sms_get_draft_box_size(void)
{
    VMINT16 size = 0;
    size = vm_gsm_sms_get_box_size(VM_GSM_SMS_BOX_DRAFTS);
    if(size < 0)
    {
        vm_log_debug("get draft box size error");
    }
}
File

vmgsm_sms.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.