Example:

DEBUGMSG(TRUE, (TEXT("Testing item count against maximum %u\r\n"),
dwMaxNumberOfItems));
DEBUGMSG(dwCurrentNumberOfItems
>= dwMaxNumberOfItems,
(TEXT(
"Invalid item count! Found %u, expected less than %u\r\n"),
dwCurrentNumberOfItems, dwMaxNumberOfItems));

 

 

 

OUtput:

Testing item count against maximum 68
Invalid item count
! Found 343, expected less than 68

 

Requirements

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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-20
  • 2022-12-23
  • 2021-07-03
  • 2021-10-06
  • 2021-08-03
  • 2021-09-06
  • 2022-12-23
相关资源
相似解决方案