removablemedia_info_get_capacity()

Retrieve the total capacity of the removable media.

Synopsis:

#include <bps/removablemedia.h>
 
BPS_API long long removablemedia_info_get_capacity(removablemedia_info_t *info)

Since:

BlackBerry 10.2.0

Arguments:

info

The removablemedia_info_t structure to get the capacity from.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The removablemedia_info_get_capacity() function retrieves the total capacity of the removable media from a removablemedia_info_t structure. The capacity is reported in Mebibytes (MiB) where 1 MiB = 1024*1024 bytes.

Returns:

The capacity or BPS_FAILURE on error.