ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

purecall.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 doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.