Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenpurecall.c
Go to the documentation of this file.
00001 00002 #include <precomp.h> 00003 00004 typedef void (__cdecl *MSVCRT_purecall_handler)(void); 00005 00006 static MSVCRT_purecall_handler purecall_handler = NULL; 00007 00008 /* _set_purecall_handler - not exported in native msvcrt */ 00009 MSVCRT_purecall_handler CDECL _set_purecall_handler(MSVCRT_purecall_handler function) 00010 { 00011 MSVCRT_purecall_handler ret = purecall_handler; 00012 00013 TRACE("(%p)\n", function); 00014 purecall_handler = function; 00015 return ret; 00016 } 00017 00018 /********************************************************************* 00019 * _purecall (MSVCRT.@) 00020 */ 00021 void CDECL _purecall(void) 00022 { 00023 if(purecall_handler) 00024 purecall_handler(); 00025 _amsg_exit( 25 ); 00026 } 00027 Generated on Sun May 27 2012 04:36:29 for ReactOS by
1.7.6.1
|