WIN_ASSERT_NOT_NULL
[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.
PWSTR p = L""; WIN_ASSERT_NOT_NULL( p, "p must be NULL" ); WIN_ASSERT_NOT_NULL( L"test" );
Table 7.48.
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.