KD_IOCTL_MEMORY_INACCESSIBLE (Windows Embedded CE 6.0)

1/5/2010

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

Header pkfuncs.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Kernel Debugger IOCTLs
OEMKDIoControl