removablemedia_info_is_write_protected()

Determine whether the removable media is write protected.

Synopsis:

#include <bps/removablemedia.h>
 
BPS_API bool removablemedia_info_is_write_protected(removablemedia_info_t *info)

Since:

BlackBerry 10.2.0

Arguments:

info

The removablemedia_info_t structure to get the write protected status from.

Library:

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

Description:

The removablemedia_info_is_write_protected() function determines whether the removable media is hardware write protected from a removablemedia_info_t structure.

Returns:

true if the removable media is write protected, false otherwise.