Example

ERRORMSG(dwCurrentNumberOfItems >= dwMaxNumberOfItems,
(TEXT(
"Invalid item count! Found %u, expected less than %u\r\n"),
dwCurrentNumberOfItems, dwMaxNumberOfItems));

Output:

 

ERROR: C:\WINCE500\Programs\MyProgram\.\main.c line 44:
Invalid item count
! Found 13343, expected less than 68

 

Requirements:

 

OS Versions: Windows CE OS 2.10 and later
Header: Dbgapi.h
Link Library: none