|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
Called in a debug build to print the condition onto the kernel debugger, including the condition text, source file name, and source line number.
void WINAPI DbgKernelAssert( const TCHAR * pCondition , const TCHAR * pFileName , INT iLine );
This function is available only in a debug build. Usually, DbgKernelAssertis called by macros such as KASSERT, not directly from other code.
Unlike DbgAssert, when macros call DbgKernelAssertin a debug build, no message box appears.