removablemedia_free_info()

Free the memory that is used by a Removable Media information structure.

Synopsis:

#include <bps/removablemedia.h>
 
BPS_API int removablemedia_free_info(removablemedia_info_t **pinfo)

Since:

BlackBerry 10.2.0

Arguments:

pinfo

The structure whose memory needs to be freed.

Library:

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

Description:

The removablemedia_free_info() function releases the memory that is used by the specified Removable Media information structure, removablemedia_info_t. Only use this function on structures retrieved from the removablemedia_get_info() function.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE if the removablemedia_info_t did not come from removablemedia_get_info(). If BPS_FAILURE is returned, no memory has been freed.