Hi,
According to "dos/extents.h" "ACTION_CURRENT_VOLUME" is deprecated. Ok, but what exactly did it return and what is the alternative/OS4.0 way of obtaining that same info?
Regards OldFart
I may have solved this puzzle by invoking IDOS->FindDosEntry(). Results are looking good
Part of the code applied:
struct VolumeNode *VN; (__PD)->pd_DosList = IDOS->LockDosList(LDF_DEVICES | LDF_VOLUMES | LDF_READ); while (((__PD)->pd_DosList = IDOS->NextDosEntry((__PD)->pd_DosList, LDF_DEVICES)) != NULL) { if ( ((__DN)->dn_Startup != ZERO) && ((__DN)->dn_Port != NULL) && ((VN =(struct VolumeNode *)IDOS->FindDosEntry((__PD)->pd_DosList, (CONST_STRPTR)_CSTR((__DN)->dn_Name), LDF_VOLUMES)) != NULL) ) { /* ** Perform further madzjiq here... */ } } IDOS->UnLockDosList(LDF_DEVICES | LDF_VOLUMES | LDF_READ);
OldFart
Hi,
I may have solved this puzzle by invoking IDOS->FindDosEntry(). Results are looking good
Part of the code applied:
OldFart