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 );
The failed assertion.
The name of the source file where RxAssert or RtlAssert was called.
The line number in the source file where RxAssert or RtlAssert was called.
Message [in, optional]
An optional message.
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.
|Rxassert.h (include Rxassert.h)|