|
CheckPointerThe function returns the type of the object pointer.
Parameters anyobject [in] Object pointer. Return value Returns a value from the ENUM_POINTER_TYPE enumeration. Note An attempt to call an incorrect pointer results in the critical termination of a program. That's why it's necessary to call the CheckPointer function before using a pointer. A pointer can be incorrect in the following cases: This function can be used for checking pointer validity. A non-zero value warranties that the pointer can be used for accessing. Example:
See also Object Pointers, Checking the Object Pointer, Object Delete Operator delete |