BOUND_CALLBACK callback function (wdm.h)

The BoundCallback routine is executed whenever the system issues a bounds exception for a user-mode thread.

Syntax

BOUND_CALLBACK BoundCallback;

BOUND_CALLBACK_STATUS BoundCallback()
{...}

Return value

A BOUND_CALLBACK_STATUS value that indicates how the bounds exception was processed by the callback function.

Remarks

Drivers can supply a BoundCallback that is called when the system issues a bounds exception.

Use KeRegisterBoundCallback to register a BoundCallback routine. A driver can subsequently remove the callback by using the KeDeregisterBoundCallback routine. If the driver can be unloaded, it must remove any registered callbacks in its Unload routine.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 10.
Target Platform Windows
Header wdm.h

See also

KeDeregisterBoundCallback

KeRegisterBoundCallback