Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
489 B

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. dbgmacro.hxx
  6. Abstract:
  7. Debug Library useful macros
  8. Author:
  9. Steve Kiraly (SteveKi) 17-May-1998
  10. Revision History:
  11. --*/
  12. #ifndef _DBGMACRO_HXX_
  13. #define _DBGMACRO_HXX_
  14. //
  15. // General arrary count.
  16. //
  17. #define COUNTOF(s) ( sizeof( (s) ) / sizeof( *(s) ) )
  18. //
  19. // Macro for post fixing function strings.
  20. //
  21. #ifdef UNICODE
  22. #define SUFFIX "W"
  23. #else
  24. #define SUFFIX "A"
  25. #endif
  26. #endif