The function returns the type of the object pointer.
[in] Object pointer.
Returns a value from the ENUM_POINTER_TYPE enumeration.
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.