About DosPacket "ACTION_CURRENT_VOLUME" (Solved +)
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?
One may ask WHY ?
Are you just trying to make Rube Goldberg machine or something ?
All the dospacket info is in; dos.dospackets.doc
If you are seriously trying to get access to the volume node for a mounted volume,
you only need to use Lock(), then do some basic field validation for safety.
Here's an example to get the volume node datestamp...
Hi,
I may have solved this puzzle by invoking IDOS->FindDosEntry(). Results are looking good
Part of the code applied:
OldFart
Sorry foax! It didn't work out as I had expected.
I expected IDOS->FindDosEntry() to use the same 'Name'. Didn't work that way.
So I conjured up a function of my own, which looks for an identical port address in VolumeNodes and lo' and behold: it works (verified)!
Hilarious, what?
OldFart
One may ask WHY ?
Are you just trying to make Rube Goldberg machine or something ?
All the dospacket info is in; dos.dospackets.doc
If you are seriously trying to get access to the volume node for a mounted volume,
you only need to use Lock(), then do some basic field validation for safety.
Here's an example to get the volume node datestamp...