BOOL IsBadCodePtr(lpfn) | ||||
FARPROC lpfn; | /* pointer to test, */ |
The IsBadCodePtr function determines whether a pointer to executable code is valid.
lpfn
Points to a function.
The return value is nonzero if the pointer is bad (that is, if it does not point to executable code). The return value is zero if the pointer is good.
IsBadHugeReadPtr, IsBadHugeWritePtr, IsBadReadPtr, IsBadStringPtr, IsBadWritePtr