View Single Post
  #5  
Old 03-22-2014, 01:27
deepzero's Avatar
deepzero deepzero is offline
VIP
 
Join Date: Mar 2010
Location: Germany
Posts: 310
Rept. Given: 115
Rept. Rcvd 64 Times in 42 Posts
Thanks Given: 195
Thanks Rcvd at 224 Times in 95 Posts
deepzero Reputation: 64
The API is also deprecated, and you shouldnt use for a variety of reasons. The truth is that there is no way of checking for a pointer that once was valid and now might be invalid.


Whatever returns the pointer should make sure there is no way of passing an invalid pointer, and should return 0 if there is a problem of some sort.
Reply With Quote