Share via


KD_IOCTL_JIT_NOTIF (Compact 2013)

10/16/2014

This I/O control message provides a notification that just-in-time (JIT) debugging is about to start. The kernel debugger sends this message with OEMKDIoctl.

Syntax

BOOL OEMKDIoControl(
    DWORD dwIoControlCode,   // use KD_IOCTL_JIT_NOTIF
    LPVOID lpInBuffer,       // pointer to input buffer
    DWORD nInBufferSize      // input buffer size
);

Parameters

  • dwIoControlCode
    [in] Control code for the operation. Use KD_IOCTL_JIT_NOTIF for this operation.
  • lpInBuffer
    [in] Set to NULL.
  • nInBufferSize
    [in] Set to zero..

Return Values

TRUE if successful; otherwise, FALSE.

Remarks

This I/O control notifies the OEM adaptation layer (OAL) that a JIT debug is pending. The OAL can notify the user to accept or bypass the JIT debug. OEMs can also use this I/O control to warn the user that the device is blocked at an exception that is waiting to be handled by the debugger.

For example, the OAL code could use LEDs to signal the user, and then wait for a key to be pressed. Depending on the key pressed, the user could indicate if the debugger should handle the exception or ignore it to let the operating system handle it.

Requirements

Header

pkfuncs.h

See Also

Reference

Kernel Debugger IOCTLs
OEMKDIoctl