/* PTP_GetStorageIDs Gets Storage Ids and fills stor_ids structure.  */
static void PTP_GetStorageIDs(USBH_HandleTypeDef *phost, PTP_StorageIDsTypedef *stor_ids)
/* PTP_GetStorageIDs Gets Storage Ids and fills stor_ids structure.  */
static void PTP_GetStorageIDs(USBH_HandleTypeDef *phost, PTP_StorageIDsTypedef *stor_ids)
{
  MTP_HandleTypeDef    *MTP_Handle =  (MTP_HandleTypeDef *)phost->pActiveClass->pData;   
  uint8_t *data = MTP_Handle->ptp.data_container.payload.data;
  stor_ids->n = PTP_GetArray32 (stor_ids->Storage, data, 0); 
}