Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
820 B

#define DOT TEXT('.')
#define MINUS TEXT('-')
#define PLUS TEXT('+')
#define ASTERISK TEXT('*')
#define AMPERSAND TEXT('&')
#define PERCENT TEXT('%')
#define DOLLAR TEXT('$')
#define POUND TEXT('#')
#define ATSIGN TEXT('@')
#define BANG TEXT('!')
#define TILDA TEXT('~')
#define SLASH TEXT('/')
#define PIPE TEXT('|')
#define BACKSLASH TEXT('\\')
#define RETURN TEXT('\r')
#define NEWLINE TEXT('\n')
#define TAB TEXT('\t')
#define COLON TEXT(':')
#define NULLC TEXT('\0')
#define BLANK TEXT(' ')
#define DIMENSION(a) (sizeof(a) / sizeof(a[0]))
VOID __cdecl WriteToCon(TCHAR *fmt, ...);
extern TCHAR ConBuf[];
#define GenOutput(h, fmt) \
{swprintf(ConBuf, fmt); \
DosPutMessageW(h, ConBuf, FALSE);}
#define GenOutput1(h, fmt, a1) \
{ \
swprintf(ConBuf, fmt, a1); \
DosPutMessageW(h, ConBuf, FALSE);}