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

Go to the source code of this file.

Typedefs

typedef void(__cdeclMSVCRT_purecall_handler) (void)
 

Functions

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

Variables

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}
void __cdecl _amsg_exit(int errnum)
Definition: amsg.c:44
static MSVCRT_purecall_handler purecall_handler
Definition: purecall.c:6

◆ _set_purecall_handler()

MSVCRT_purecall_handler CDECL _set_purecall_handler ( MSVCRT_purecall_handler  function)

Definition at line 9 of file purecall.c.

10{
12
13 TRACE("(%p)\n", function);
14 purecall_handler = function;
15 return ret;
16}
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
static

Definition at line 6 of file purecall.c.

Referenced by _purecall(), and _set_purecall_handler().