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.

43 lines
694 B

  1. /***
  2. *purevirt.c - stub to trap pure virtual function calls
  3. *
  4. * Copyright (c) 1992-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * defines _purecall() -
  8. *
  9. *Revision History:
  10. * 09-30-92 GJF Module created
  11. * 04-06-93 SKS Replace _CRTAPI* with __cdecl
  12. *
  13. *******************************************************************************/
  14. #ifndef _POSIX_
  15. #include <cruntime.h>
  16. #include <internal.h>
  17. #include <rterr.h>
  18. /***
  19. *void _purecall(void) -
  20. *
  21. *Purpose:
  22. *
  23. *Entry:
  24. * No arguments
  25. *
  26. *Exit:
  27. * Never returns
  28. *
  29. *Exceptions:
  30. *
  31. *******************************************************************************/
  32. void __cdecl _purecall(
  33. void
  34. )
  35. {
  36. _amsg_exit(_RT_PUREVIRT);
  37. }
  38. #endif