WIN_ASSERT_FALSE
[in] Expression: The expression whose value is to be checked.
[in] ...: Optional: Message to be included in a failure report. This parameter allows printf-style formatters to be used, with the corresponding parameters being specified as subsequent arguments. The routine is overloaded and allows Message to be either a unicode or an ANSI string.
int a = 0; WIN_ASSERT_FALSE( FALSE, "Test a Win32 BOOL" ); WIN_ASSERT_FALSE( false, L"Test a C++ bool" ); WIN_ASSERT_FALSE( a != 0 );
Table 7.51.
User Mode | Kernel Mode | |
---|---|---|
Available since | 1.3 | N/A |
Header | Declared in winunit.h | N/A |
Library | Link to cfix.lib | N/A |
DLL | cfix.dll | N/A |
IRQL | N/A | N/A |
Requires cl version 14.00 (VisualStudio 2005) or better.