RxAssert routine
RxAssert sends an ASSERT string on checked builds of RDBSS to a kernel debugger if one is installed. For retail builds of RDBSS, calls to this routine will bug check.
VOID RxAssert(
_In_ PVOID FailedAssertion,
_In_ PVOID FileName,
_In_ ULONG LineNumber,
_In_opt_ PCHAR Message
);
FailedAssertion [in]
The failed assertion.
FileName [in]
The name of the source file where RxAssert or RtlAssert was called.
LineNumber [in]
The line number in the source file where RxAssert or RtlAssert was called.
Message [in, optional]
An optional message.
None
When the rxassert.h include file is used, Windows kernel RtlAssert calls will be redefined to call this RxAssert routine as well.
On retail builds, RxAssert will call KeBugCheckEx passing in the value 0xa55a0000 ORed with the line number as BugCheckParamater1.
Target platform |
Desktop |
Header |
Rxassert.h (include Rxassert.h) |
IRQL |
<= APC_LEVEL |