DbgRaiseAssertionFailure macro

Raises an assert for debugging.

Syntax

void DbgRaiseAssertionFailure(void);

Parameters

This macro has no parameters.

Return value

This macro does not return a value.

Remarks

The following are some definitions of this macro in Winnt.h:

#define DbgRaiseAssertionFailure() __int2c()

#define DbgRaiseAssertionFailure() __break(ASSERT_BREAKPOINT)

#define DbgRaiseAssertionFailure() __emit(0xdefc)

Requirements

Header

Winnt.h (include Windows.h)