Leaked source code of windows server 2003
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
1.0 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1995 - 1998 **/
  4. /**********************************************************************/
  5. /*
  6. FILE HISTORY:
  7. main.cpp - holds our CWinApp implementation for this DLL
  8. */
  9. #include "stdafx.h"
  10. #ifdef _DEBUG
  11. void DbgVerifyInstanceCounts();
  12. #define DEBUG_VERIFY_INSTANCE_COUNTS DbgVerifyInstanceCounts()
  13. #else
  14. #define DEBUG_VERIFY_INSTANCE_COUNTS
  15. #endif
  16. #ifdef _DEBUG
  17. void TFSCore_DbgVerifyInstanceCounts()
  18. {
  19. DEBUG_VERIFY_INSTANCE_COUNT(TFSComponent);
  20. DEBUG_VERIFY_INSTANCE_COUNT(TFSComponentData);
  21. // DEBUG_VERIFY_INSTANCE_COUNT(CBaseHandler);
  22. // DEBUG_VERIFY_INSTANCE_COUNT(CBaseResultHandler);
  23. DEBUG_VERIFY_INSTANCE_COUNT(TFSNode);
  24. DEBUG_VERIFY_INSTANCE_COUNT(TFSNodeEnum);
  25. DEBUG_VERIFY_INSTANCE_COUNT(TFSNodeMgr);
  26. DEBUG_VERIFY_INSTANCE_COUNT(CHiddenWnd);
  27. }
  28. #endif // _DEBUG