Author: janderwald
Date: Mon Feb 4 18:06:09 2008
New Revision: 32115
URL:
http://svn.reactos.org/svn/reactos?rev=32115&view=rev
Log:
- add api message structs / constants for doskey
Modified:
trunk/reactos/include/reactos/subsys/csrss/csrss.h
Modified: trunk/reactos/include/reactos/subsys/csrss/csrss.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/subsys/csr…
==============================================================================
--- trunk/reactos/include/reactos/subsys/csrss/csrss.h (original)
+++ trunk/reactos/include/reactos/subsys/csrss/csrss.h Mon Feb 4 18:06:09 2008
@@ -411,6 +411,53 @@
{
HANDLE InputWaitHandle;
} CSRSS_GET_INPUT_WAIT_HANDLE, *PCSRSS_GET_INPUT_WAIT_HANDLE;
+
+typedef struct
+{
+ LPCWSTR lpSource;
+ LPCWSTR lpTarget;
+ LPCWSTR lpExeName;
+} CSRSS_ADD_CONSOLE_ALIAS, *PCSRSS_ADD_CONSOLE_ALIAS;
+
+typedef struct
+{
+ LPWSTR lpSource;
+ LPWSTR lpExeName;
+ DWORD BytesWritten;
+ DWORD TargetBufferLength;
+ LPWSTR TargetBuffer;
+
+} CSRSS_GET_CONSOLE_ALIAS, *PCSRSS_GET_CONSOLE_ALIAS;
+
+typedef struct
+{
+ LPWSTR lpExeName;
+ DWORD BytesWritten;
+ DWORD AliasBufferLength;
+ LPWSTR AliasBuffer;
+} CSRSS_GET_ALL_CONSOLE_ALIAS, *PCSRSS_GET_ALL_CONSOLE_ALIAS;
+
+typedef struct
+{
+ LPWSTR lpExeName;
+ DWORD Length;
+} CSRSS_GET_ALL_CONSOLE_ALIASES_LENGTH, *PCSRSS_GET_ALL_CONSOLE_ALIASES_LENGTH;
+
+typedef struct
+{
+ BOOL Unicode;
+ DWORD BytesWritten;
+ DWORD Length;
+ LPWSTR ExeNames;
+} CSRSS_GET_CONSOLE_ALIASES_EXES, *PCSRSS_GET_CONSOLE_ALIASES_EXES;
+
+typedef struct
+{
+ BOOL Unicode;
+ DWORD Length;
+} CSRSS_GET_CONSOLE_ALIASES_EXES_LENGTH, *PCSRSS_GET_CONSOLE_ALIASES_EXES_LENGTH;
+
+
#define CSR_API_MESSAGE_HEADER_SIZE(Type) (FIELD_OFFSET(CSR_API_MESSAGE, Data) +
sizeof(Type))
#define CSRSS_MAX_WRITE_CONSOLE (LPC_MAX_DATA_LENGTH -
CSR_API_MESSAGE_HEADER_SIZE(CSRSS_WRITE_CONSOLE))
@@ -480,6 +527,12 @@
#define GET_INPUT_WAIT_HANDLE (0x35)
#define GET_PROCESS_LIST (0x36)
#define START_SCREEN_SAVER (0x37)
+#define ADD_CONSOLE_ALIAS (0x38)
+#define GET_CONSOLE_ALIAS (0x39)
+#define GET_ALL_CONSOLE_ALIAS (0x3A)
+#define GET_ALL_CONSOLE_ALIASES_LENGTH (0x3B)
+#define GET_CONSOLE_ALIASES_EXES (0x3C)
+#define GET_CONSOLE_ALIASES_EXES_LENGTH (0x3D)
/* Keep in sync with definition below. */
#define CSRSS_HEADER_SIZE (sizeof(PORT_MESSAGE) + sizeof(ULONG) + sizeof(NTSTATUS))
@@ -545,6 +598,12 @@
CSRSS_SET_CONSOLE_OUTPUT_CP SetConsoleOutputCodePage;
CSRSS_GET_INPUT_WAIT_HANDLE GetConsoleInputWaitHandle;
CSRSS_GET_PROCESS_LIST GetProcessListRequest;
+ CSRSS_ADD_CONSOLE_ALIAS AddConsoleAlias;
+ CSRSS_GET_CONSOLE_ALIAS GetConsoleAlias;
+ CSRSS_GET_ALL_CONSOLE_ALIAS GetAllConsoleAlias;
+ CSRSS_GET_ALL_CONSOLE_ALIASES_LENGTH GetAllConsoleAliasesLength;
+ CSRSS_GET_CONSOLE_ALIASES_EXES GetConsoleAliasesExes;
+ CSRSS_GET_CONSOLE_ALIASES_EXES_LENGTH GetConsoleAliasesExesLength;
} Data;
} CSR_API_MESSAGE, *PCSR_API_MESSAGE;