KD_IOCTL_MEMORY_INACCESSIBLE (Windows CE 5.0)
This IOCTL is a request from the kernel debugger to check if memory is inaccessible.
The OEMKDIoControl function calls this IOCTL.
Parameters
- dwIoControlCode
[in] Set to KD_IOCTL_MEMORY_INACCESSIBLE. - lpBuf
[in] Pointer to a memory address. - nBufSize
[in] Size of the pointer. Set to size of LPVOID.
Return Values
By default, this IOCTL returns FALSE, which indicates that the kernel debugger may read from or write to the memory address.
TRUE indicates that user designated the indicated address as invalid, and the kernel debugger should not read from or write to the memory address.
Remarks
This IOCTL allows a user to define certain memory locations as invalid if the debugger should not access those memory locations.
If the debugger accesses memory that is not valid, an exception occurs. On some hardware platforms, it may not be possible to recover from the exception because the debugger automatically turns all interrupts off.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Pkfuncs.h.
See Also
Send Feedback on this topic to the authors