|
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.
|