ReactOS
0.4.16-dev-197-g92996da
precomp.h
Go to the documentation of this file.
1
#ifndef __CMD_PRECOMP_H
2
#define __CMD_PRECOMP_H
3
4
#ifdef _MSC_VER
5
#pragma warning ( disable : 4103 )
/* use #pragma pack to change alignment */
6
#undef _CRT_SECURE_NO_DEPRECATE
7
#define _CRT_SECURE_NO_DEPRECATE
8
#endif
/*_MSC_VER */
9
10
#include <stdio.h>
11
#include <stdarg.h>
12
#include <stdlib.h>
13
#include <
malloc.h
>
14
#include <tchar.h>
15
16
#define WIN32_NO_STATUS
17
#include <
windef.h
>
18
#include <
winbase.h
>
19
#include <
winnls.h
>
20
#include <
winreg.h
>
21
#include <
winuser.h
>
22
#include <
wincon.h
>
23
#include <
shellapi.h
>
24
25
#define NTOS_MODE_USER
26
#include <
ndk/rtlfuncs.h
>
27
28
#include <
strsafe.h
>
29
30
#include <
conutils.h
>
31
32
#include "
resource.h
"
33
34
#include "
cmd.h
"
35
#include "
config.h
"
36
#include "
batch.h
"
37
38
#include <
wine/debug.h
>
39
WINE_DEFAULT_DEBUG_CHANNEL
(
cmd
);
40
41
#ifdef UNICODE
42
#define debugstr_aw debugstr_w
43
#else
44
#define debugstr_aw debugstr_a
45
#endif
46
47
#ifdef FEATURE_DYNAMIC_TRACE
48
49
extern
BOOL
g_bDynamicTrace
;
50
void
CmdTrace
(
INT
type
,
LPCSTR
file
,
INT
line
,
LPCSTR
func
,
LPCSTR
fmt
, ...);
51
52
#undef FIXME
53
#define FIXME(fmt, ...) \
54
CmdTrace(__WINE_DBCL_FIXME, __FILE__, __LINE__, __FUNCTION__, fmt, ## __VA_ARGS__)
55
56
#undef ERR
57
#define ERR(fmt, ...) \
58
CmdTrace(__WINE_DBCL_ERR, __FILE__, __LINE__, __FUNCTION__, fmt, ## __VA_ARGS__)
59
60
#undef WARN
61
#define WARN(fmt, ...) \
62
CmdTrace(__WINE_DBCL_WARN, __FILE__, __LINE__, __FUNCTION__, fmt, ## __VA_ARGS__)
63
64
#undef TRACE
65
#define TRACE(fmt, ...) \
66
CmdTrace(__WINE_DBCL_TRACE, __FILE__, __LINE__, __FUNCTION__, fmt, ## __VA_ARGS__)
67
68
#endif
/* def FEATURE_DYNAMIC_TRACE */
69
70
#endif
/* __CMD_PRECOMP_H */
WINE_DEFAULT_DEBUG_CHANNEL
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition:
precomp.h:23
CmdTrace
void CmdTrace(INT type, LPCSTR file, INT line, LPCSTR func, LPCSTR fmt,...)
Definition:
trace.c:15
g_bDynamicTrace
BOOL g_bDynamicTrace
Definition:
trace.c:13
batch.h
conutils.h
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
type
GLuint GLuint GLsizei GLenum type
Definition:
gl.h:1545
func
GLenum func
Definition:
glext.h:6028
malloc.h
rtlfuncs.h
debug.h
cmd.h
config.h
shellapi.h
strsafe.h
cmd
Definition:
ftp_var.h:139
file
Definition:
fci.c:127
fmt
Definition:
dsound.c:943
line
Definition:
parser.c:49
INT
int32_t INT
Definition:
typedefs.h:58
resource.h
winbase.h
wincon.h
windef.h
winnls.h
winreg.h
winuser.h
LPCSTR
const char * LPCSTR
Definition:
xmlstorage.h:183
base
shell
cmd
precomp.h
Generated on Wed Oct 30 2024 06:14:21 for ReactOS by
1.9.6