KASSERT

In a debug build, if the condition evaluates to FALSE, the KASSERT macro prints the condition on the kernel debugger, including the file name and line number.

KASSERT(
cond);

Parameters

  • cond
    Condition (a Boolean expression).

Remarks

This macro is ignored unless DEBUG is defined when the Microsoft® DirectShow® headers are included.

Unlike ASSERT and EXECUTE_ASSERT, if you use this macro in a debug build no message box will appear.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.