windows-nt/Source/XPSP1/NT/ds/netapi/netcmd/inc/netascii.h
2020-09-26 16:20:57 +08:00

36 lines
820 B
C

#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);}