Implemented LPC sections

Changed WriteConsoleOutput to pass data in the section

svn path=/trunk/; revision=2413
This commit is contained in:
David Welch
2001-12-02 23:34:43 +00:00
parent b7f6ddaf9a
commit 7a15ff20db
26 changed files with 1112 additions and 600 deletions
+2 -1
View File
@@ -11,6 +11,7 @@
#define CSR_PRIORITY_CLASS_HIGH (0x40)
#define CSR_PRIORITY_CLASS_REALTIME (0x80)
#define CSR_CSRSS_SECTION_SIZE (65536)
typedef struct
{
@@ -222,7 +223,7 @@ typedef struct
COORD BufferSize;
COORD BufferCoord;
SMALL_RECT WriteRegion;
CHAR_INFO CharInfo[0];
CHAR_INFO* CharInfo;
} CSRSS_WRITE_CONSOLE_OUTPUT_REQUEST, *PCSRSS_WRITE_CONSOLE_OUTPUT_REQUEST;
typedef struct
+8 -1
View File
@@ -1,4 +1,4 @@
/* $Id: csr.h,v 1.6 2001/06/17 20:05:09 ea Exp $
/* $Id: csr.h,v 1.7 2001/12/02 23:34:39 dwelch Exp $
*
*/
@@ -25,6 +25,13 @@ VOID STDCALL CsrProbeForRead(IN CONST PVOID Address,
VOID STDCALL CsrProbeForWrite(IN CONST PVOID Address,
IN ULONG Length,
IN ULONG Alignment);
NTSTATUS STDCALL
CsrCaptureParameterBuffer(PVOID ParameterBuffer,
ULONG ParameterBufferSize,
PVOID* ClientAddress,
PVOID* ServerAddress);
NTSTATUS STDCALL
CsrReleaseParameterBuffer(PVOID ClientAddress);
#endif /* __INCLUDE_NTDLL_CSR_H */
+1 -1
View File
@@ -19,6 +19,6 @@
#define HEAP_ZERO_MEMORY (8)
#define HEAP_REALLOC_IN_PLACE_ONLY (16)
#define HEAP_GROWABLE (32)
#define HEAP_NO_VALLOC (64)
#endif /* __INCLUDE_HEAP_H */