The documentation says that the above two functions return 0 on error.
Is 0 not a valid time and valid position?? I would have thought that if you use PlayEx and pause it before playing, that the time and position would both be 0 (validly so).
In these circumstances, how do we differentiate between an error and a valid position?
I could be wrong here, so feel free to flame! LOL.
As these functions return ints (not unsigned ints) would a value of < 0 be a good indicator of error? -1 for example??? I know this change would annoy people, so perhaps for version 4??
- siege79 asked 15 years ago
- You must login to post comments