Maybe IsBadReadPtr?
from MSDN:
IsBadReadPtr
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.
thingol
| Sun, 11 Nov 2007 00:55:00 GMT |