I should probably know this, but...
I'm writing a series of functions that return pointers to objects. In the case that an error occurs I am returning a hex value instead of a pointer.
My return codes start at 0x00000 and I'm planning to have around 20-50.
I have investigated many pointers with my debugger and noticed that pointer values are generally much higher than this. Is this purely by coincidence or is it safe to assume a certain range that will NOT interfere with memory in my application?
***edit***
Forgot to mention that my target system is current versions of windows (XP to 7).