ReactOS  0.4.13-dev-656-g74bcf30
rtcapi.h
Go to the documentation of this file.
1 
6 #ifndef _INC_RTCAPI
7 #define _INC_RTCAPI
8 
9 #include <crtdefs.h>
10 
11 #pragma pack(push,_CRT_PACKING)
12 
13 #define _RTCINTERNAL_DEPRECATED
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19  typedef enum _RTC_ErrorNumber {
22 
23 #define _RTC_ERRTYPE_IGNORE -1
24 #define _RTC_ERRTYPE_ASK -2
25 
26  typedef int (__cdecl *_RTC_error_fn)(int,const char *,int,const char *,const char *,...);
27  typedef int (__cdecl *_RTC_error_fnW)(int,const wchar_t *,int,const wchar_t *,const wchar_t *,...);
28 
29  int __cdecl _RTC_NumErrors(void);
30  const char *__cdecl _RTC_GetErrDesc(_RTC_ErrorNumber _Errnum);
31  int __cdecl _RTC_SetErrorType(_RTC_ErrorNumber _Errnum,int _ErrType);
34  void __cdecl _RTC_Initialize(void);
35  void __cdecl _RTC_Terminate(void);
36  _RTC_error_fn __cdecl _CRT_RTC_INIT(void *_Res0,void **_Res1,int _Res2,int _Res3,int _Res4);
37  _RTC_error_fnW __cdecl _CRT_RTC_INITW(void *_Res0,void **_Res1,int _Res2,int _Res3,int _Res4);
38 
39  typedef struct _RTC_vardesc {
40  int addr;
41  int size;
42  char *name;
43  } _RTC_vardesc;
44 
45  typedef struct _RTC_framedesc {
46  int varCount;
49 
50 #pragma pack(push,1)
51 
52  typedef struct _RTC_ALLOCA_NODE {
55 #if (defined(_X86_) && !defined(__x86_64))
56  __int32 dummypad;
57 #endif
58  size_t allocaSize;
59 #if (defined(_X86_) && !defined(__x86_64))
60  __int32 dummypad2;
61 #endif
64 #pragma pack(pop)
65 
66  char __fastcall _RTC_Check_2_to_1(short _Src);
67  char __fastcall _RTC_Check_4_to_1(int _Src);
69  short __fastcall _RTC_Check_4_to_2(int _Src);
72 
73 #if (defined(_X86_) && !defined(__x86_64))
74  void __cdecl _RTC_CheckEsp(void);
75 #endif
76  void __fastcall _RTC_CheckStackVars(void *_Esp,_RTC_framedesc *_Fd);
77  void __fastcall _RTC_CheckStackVars2(void *_Esp,_RTC_framedesc *_Fd,_RTC_ALLOCA_NODE *_AllocaList);
78  void __fastcall _RTC_AllocaHelper(_RTC_ALLOCA_NODE *_PAllocaBase,size_t _CbSize,_RTC_ALLOCA_NODE **_PAllocaInfoList);
79  void __cdecl _RTC_UninitUse(const char *_Varname);
80  void __cdecl _RTC_Shutdown(void);
81  void __cdecl _RTC_InitBase(void);
82 #ifdef __cplusplus
83  void *_ReturnAddress(void);
84 }
85 #endif
86 
87 #pragma pack(pop)
88 #endif
struct _RTC_vardesc _RTC_vardesc
int __cdecl _RTC_SetErrorType(_RTC_ErrorNumber _Errnum, int _ErrType)
Definition: rtcuserapi.c:57
#define __cdecl
Definition: accygwin.h:79
_RTC_error_fn __cdecl _RTC_SetErrorFunc(_RTC_error_fn)
Definition: rtcuserapi.c:68
void __cdecl _RTC_UninitUse(const char *_Varname)
Definition: rtcapi.c:99
#define __fastcall
Definition: sync.c:41
int size
Definition: rtcapi.h:41
struct _RTC_framedesc _RTC_framedesc
__int32 guard2[3]
Definition: rtcapi.h:62
int varCount
Definition: rtcapi.h:46
void __cdecl _RTC_Shutdown(void)
Definition: rtcapi.c:67
size_t allocaSize
Definition: rtcapi.h:58
_RTC_ErrorNumber
Definition: rtcapi.h:19
struct _RTC_ALLOCA_NODE _RTC_ALLOCA_NODE
int(__cdecl * _RTC_error_fn)(int, const char *, int, const char *, const char *,...)
Definition: rtcapi.h:26
_RTC_error_fnW __cdecl _RTC_SetErrorFuncW(_RTC_error_fnW)
Definition: rtcuserapi.c:78
#define __MINGW_EXTENSION
Definition: _mingw.h:164
void __fastcall _RTC_CheckStackVars(void *_Esp, _RTC_framedesc *_Fd)
Definition: rtcapi.c:112
void __fastcall _RTC_AllocaHelper(_RTC_ALLOCA_NODE *_PAllocaBase, size_t _CbSize, _RTC_ALLOCA_NODE **_PAllocaInfoList)
Definition: rtcapi.c:175
__MINGW_EXTENSION short __fastcall _RTC_Check_8_to_2(__int64 _Src)
void __cdecl _RTC_Initialize(void)
Definition: rtcapi.c:74
short __fastcall _RTC_Check_4_to_2(int _Src)
int __cdecl _RTC_NumErrors(void)
Definition: rtcuserapi.c:35
void __cdecl _RTC_InitBase(void)
Definition: rtcapi.c:52
int addr
Definition: rtcapi.h:40
__MINGW_EXTENSION char __fastcall _RTC_Check_8_to_1(__int64 _Src)
char * name
Definition: rtcapi.h:42
char __fastcall _RTC_Check_2_to_1(short _Src)
__MINGW_EXTENSION int __fastcall _RTC_Check_8_to_4(__int64 _Src)
__int32 guard1
Definition: rtcapi.h:53
char __fastcall _RTC_Check_4_to_1(int _Src)
#define __int32
Definition: basetyps.h:19
_RTC_vardesc * variables
Definition: rtcapi.h:47
_RTC_error_fn __cdecl _CRT_RTC_INIT(void *_Res0, void **_Res1, int _Res2, int _Res3, int _Res4)
int(__cdecl * _RTC_error_fnW)(int, const wchar_t *, int, const wchar_t *, const wchar_t *,...)
Definition: rtcapi.h:27
void __cdecl _RTC_Terminate(void)
void __fastcall _RTC_CheckStackVars2(void *_Esp, _RTC_framedesc *_Fd, _RTC_ALLOCA_NODE *_AllocaList)
Definition: rtcapi.c:140
void * _ReturnAddress(void)
struct _RTC_ALLOCA_NODE * next
Definition: rtcapi.h:54
const char *__cdecl _RTC_GetErrDesc(_RTC_ErrorNumber _Errnum)
Definition: rtcuserapi.c:44
#define __int64
Definition: basetyps.h:16
_RTC_error_fnW __cdecl _CRT_RTC_INITW(void *_Res0, void **_Res1, int _Res2, int _Res3, int _Res4)
Definition: mscmain.c:65
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31