新手求解几个函数的用法 多谢

新手求解几个函数的用法 谢谢IsBadReadPtrIsBadWritePtrIsBadCodePtrIsBadStringPtr如果判断*P这个指针怎

新手求解几个函数的用法 谢谢
IsBadReadPtr          
IsBadWritePtr          
IsBadCodePtr          
IsBadStringPtr

如果判断   *P   这个指针   怎么判断他的合法性

谢谢各位

[解决办法]
The IsBadReadPtr function verifies that the calling process has read access to the specified range of memory.


BOOL IsBadReadPtr(
const VOID* lp,
UINT_PTR ucb
);

Parameters
lp
[in] Pointer to the first byte of the memory block.
ucb
[in] Size of the memory block, in bytes. If this parameter is zero, the return value is zero.