ReactOS  0.4.15-dev-2700-g4b4ffa9
purecall.c File Reference
#include <precomp.h>
Include dependency graph for purecall.c:

Go to the source code of this file.


typedef void(__cdeclMSVCRT_purecall_handler) (void)


MSVCRT_purecall_handler CDECL _set_purecall_handler (MSVCRT_purecall_handler function)
void CDECL _purecall (void)


static MSVCRT_purecall_handler purecall_handler = NULL

Typedef Documentation

◆ MSVCRT_purecall_handler

typedef void(__cdecl * MSVCRT_purecall_handler) (void)

Definition at line 4 of file purecall.c.

Function Documentation

◆ _purecall()

void CDECL _purecall ( void  )

Definition at line 21 of file purecall.c.

22 {
25  _amsg_exit( 25 );
26 }
static MSVCRT_purecall_handler purecall_handler
Definition: purecall.c:6
void __cdecl _amsg_exit(int errnum)
Definition: amsg.c:47

◆ _set_purecall_handler()

MSVCRT_purecall_handler CDECL _set_purecall_handler ( MSVCRT_purecall_handler  function)

Definition at line 9 of file purecall.c.

10 {
13  TRACE("(%p)\n", function);
14  purecall_handler = function;
15  return ret;
16 }
static MSVCRT_purecall_handler purecall_handler
Definition: purecall.c:6
void(__cdecl * MSVCRT_purecall_handler)(void)
Definition: purecall.c:4
#define TRACE(s)
Definition: solgame.cpp:4
int ret

Variable Documentation

◆ purecall_handler

MSVCRT_purecall_handler purecall_handler = NULL

Definition at line 6 of file purecall.c.

Referenced by _purecall(), and _set_purecall_handler().