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
51 lines
808 B
/*++
|
|
|
|
Copyright (c) Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
purevirt.cpp
|
|
|
|
Abstract:
|
|
|
|
Implementation of _purecall to eliminate msvcrt.dll dependency
|
|
in sxs.dll / csrss.exe.
|
|
|
|
Author:
|
|
|
|
Jay Krell (a-JayK, JayKrell) July 2000
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
/*
|
|
see \nt\base\crts\crtw32\misc\purevirt.c
|
|
\nt\base\crts\crtw32\hack\stubs.c
|
|
*/
|
|
|
|
#include "stdinc.h"
|
|
#include "debmacro.h"
|
|
#include "fusiontrace.h"
|
|
|
|
/***
|
|
*void _purecall(void) -
|
|
*
|
|
*Purpose:
|
|
*
|
|
*Entry:
|
|
* No arguments
|
|
*
|
|
*Exit:
|
|
* Never returns
|
|
*
|
|
*Exceptions:
|
|
*
|
|
*******************************************************************************/
|
|
|
|
extern "C" int __cdecl _purecall(
|
|
void
|
|
)
|
|
{
|
|
::RaiseException((DWORD) STATUS_NOT_IMPLEMENTED, EXCEPTION_NONCONTINUABLE, 0, NULL);
|
|
return 0;
|
|
}
|