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.

35 lines
717 B

  1. /*****************************************************************/
  2. /** Microsoft Windows for Workgroups **/
  3. /** Copyright (C) Microsoft Corp., 1991-1992 **/
  4. /*****************************************************************/
  5. /* PURECALL.C -- Implementation of __purecall function.
  6. *
  7. * History:
  8. * 04/11/94 gregj Created
  9. */
  10. #include "npcommon.h"
  11. extern "C" {
  12. /*
  13. * This function serves to avoid linking CRT code like assert etc.
  14. * we really don;t do anything when pure virtual function is not redefined
  15. */
  16. int __cdecl _purecall(void)
  17. {
  18. #ifdef DEBUG
  19. DebugBreak();
  20. #endif
  21. return(FALSE);
  22. }
  23. int __cdecl atexit(void (__cdecl *)(void))
  24. {
  25. return 0;
  26. }
  27. };