long HFSGetUUID(CICell ih, char *uuidStr) { if (HFSInitPartition(ih) == -1) return -1; if (gVolID == 0LL) return -1; return CreateUUIDString((uint8_t*)(&gVolID), sizeof(gVolID), uuidStr); }
long UFSGetUUID(CICell ih, char *uuidStr) { long long uuid = gUFSLabel.ul_uuid; if (UFSInitPartition(ih) == -1) return -1; if (uuid == 0LL) return -1; return CreateUUIDString((uint8_t*)(&uuid), sizeof(uuid), uuidStr); }