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.

51 lines
808 B

  1. /*++
  2. Copyright (c) Microsoft Corporation
  3. Module Name:
  4. purevirt.cpp
  5. Abstract:
  6. Implementation of _purecall to eliminate msvcrt.dll dependency
  7. in sxs.dll / csrss.exe.
  8. Author:
  9. Jay Krell (a-JayK, JayKrell) July 2000
  10. Revision History:
  11. --*/
  12. /*
  13. see \nt\base\crts\crtw32\misc\purevirt.c
  14. \nt\base\crts\crtw32\hack\stubs.c
  15. */
  16. #include "stdinc.h"
  17. #include "debmacro.h"
  18. #include "fusiontrace.h"
  19. /***
  20. *void _purecall(void) -
  21. *
  22. *Purpose:
  23. *
  24. *Entry:
  25. * No arguments
  26. *
  27. *Exit:
  28. * Never returns
  29. *
  30. *Exceptions:
  31. *
  32. *******************************************************************************/
  33. extern "C" int __cdecl _purecall(
  34. void
  35. )
  36. {
  37. ::RaiseException((DWORD) STATUS_NOT_IMPLEMENTED, EXCEPTION_NONCONTINUABLE, 0, NULL);
  38. return 0;
  39. }