- Revert 44301
[reactos.git] / base / applications / cmdutils / doskey / doskey.h
1 #define IDS_HELP 0
2 #define IDS_INVALID_MACRO_DEF 1
3
4 #ifndef RC_INVOKED
5
6 #ifdef UNICODE
7 #define TNAME(x) x##W
8 #else
9 #define TNAME(x) x##A
10 #endif
11
12 /* Missing from include/psdk/wincon.h */
13 #ifndef ENABLE_INSERT_MODE
14 #define ENABLE_INSERT_MODE 0x20
15 #endif
16 #ifndef ENABLE_EXTENDED_FLAGS
17 #define ENABLE_EXTENDED_FLAGS 0x80
18 #endif
19
20 /* Undocumented APIs */
21 #ifndef AddConsoleAlias
22 BOOL WINAPI AddConsoleAliasA(LPSTR, LPSTR, LPSTR);
23 BOOL WINAPI AddConsoleAliasW(LPWSTR, LPWSTR, LPWSTR);
24 #define AddConsoleAlias TNAME(AddConsoleAlias)
25 #endif
26 #ifndef ExpungeConsoleCommandHistory
27 BOOL WINAPI ExpungeConsoleCommandHistoryA(LPSTR);
28 BOOL WINAPI ExpungeConsoleCommandHistoryW(LPWSTR);
29 #define ExpungeConsoleCommandHistory TNAME(ExpungeConsoleCommandHistory)
30 #endif
31 #ifndef GetConsoleAliases
32 DWORD WINAPI GetConsoleAliasesA(LPSTR, DWORD, LPSTR);
33 DWORD WINAPI GetConsoleAliasesW(LPWSTR, DWORD, LPWSTR);
34 #define GetConsoleAliases TNAME(GetConsoleAliases)
35 #endif
36 #ifndef GetConsoleAliasesLength
37 DWORD WINAPI GetConsoleAliasesLengthA(LPSTR);
38 DWORD WINAPI GetConsoleAliasesLengthW(LPWSTR);
39 #define GetConsoleAliasesLength TNAME(GetConsoleAliasesLength)
40 #endif
41 #ifndef GetConsoleAliasExes
42 DWORD WINAPI GetConsoleAliasExesA(LPSTR, DWORD);
43 DWORD WINAPI GetConsoleAliasExesW(LPWSTR, DWORD);
44 #define GetConsoleAliasExes TNAME(GetConsoleAliasExes)
45 #endif
46 #ifndef GetConsoleAliasExesLength
47 DWORD WINAPI GetConsoleAliasExesLengthA(VOID);
48 DWORD WINAPI GetConsoleAliasExesLengthW(VOID);
49 #define GetConsoleAliasExesLength TNAME(GetConsoleAliasExesLength)
50 #endif
51 #ifndef GetConsoleCommandHistory
52 DWORD WINAPI GetConsoleCommandHistoryA(LPSTR, DWORD, LPSTR);
53 DWORD WINAPI GetConsoleCommandHistoryW(LPWSTR, DWORD, LPWSTR);
54 #define GetConsoleCommandHistory TNAME(GetConsoleCommandHistory)
55 #endif
56 #ifndef GetConsoleCommandHistoryLength
57 DWORD WINAPI GetConsoleCommandHistoryLengthA(LPSTR);
58 DWORD WINAPI GetConsoleCommandHistoryLengthW(LPWSTR);
59 #define GetConsoleCommandHistoryLength TNAME(GetConsoleCommandHistoryLength)
60 #endif
61 #ifndef SetConsoleNumberOfCommands
62 BOOL WINAPI SetConsoleNumberOfCommandsA(DWORD, LPSTR);
63 BOOL WINAPI SetConsoleNumberOfCommandsW(DWORD, LPWSTR);
64 #define SetConsoleNumberOfCommands TNAME(SetConsoleNumberOfCommands)
65 #endif
66
67 #endif /* RC_INVOKED */