If you are concerned about exploits and are ready to write code that behaves differently when ran on XP SP2 or Windows Server 2003, check:
- EncodePointer and DecodePointer
- EncodeSystemPointer and DecodeSystemPointer