mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
[CSRSRV][CONSRV]
CSR_WAIT_FUNCTION functions are callbacks and therefore are __stdcall aka. NTAPI. Fix this. Now, using either our csrsrv or win2k3' csrsrv works without problems; there is no console key-press problems anymore (aka. stack corruption when calling multiple times CsrNotifyWait, which called those CSR_WAIT_FUNCTION functions). svn path=/trunk/; revision=60553
This commit is contained in:
parent
5cd9f97182
commit
607b6f3f01
3 changed files with 4 additions and 1 deletions
|
@ -134,7 +134,7 @@ typedef enum _CSR_REPLY_CODE
|
|||
*/
|
||||
typedef
|
||||
BOOLEAN
|
||||
(*CSR_WAIT_FUNCTION)(
|
||||
(NTAPI *CSR_WAIT_FUNCTION)(
|
||||
IN PLIST_ENTRY WaitList,
|
||||
IN PCSR_THREAD WaitThread,
|
||||
IN PCSR_API_MESSAGE WaitApiMessage,
|
||||
|
|
|
@ -78,6 +78,7 @@ ReadChars(IN PGET_INPUT_INFO InputInfo,
|
|||
|
||||
// Wait function CSR_WAIT_FUNCTION
|
||||
static BOOLEAN
|
||||
NTAPI
|
||||
ReadCharsThread(IN PLIST_ENTRY WaitList,
|
||||
IN PCSR_THREAD WaitThread,
|
||||
IN PCSR_API_MESSAGE WaitApiMessage,
|
||||
|
@ -193,6 +194,7 @@ ReadInputBuffer(IN PGET_INPUT_INFO InputInfo,
|
|||
|
||||
// Wait function CSR_WAIT_FUNCTION
|
||||
static BOOLEAN
|
||||
NTAPI
|
||||
ReadInputBufferThread(IN PLIST_ENTRY WaitList,
|
||||
IN PCSR_THREAD WaitThread,
|
||||
IN PCSR_API_MESSAGE WaitApiMessage,
|
||||
|
|
|
@ -308,6 +308,7 @@ DoWriteConsole(IN PCSR_API_MESSAGE ApiMessage,
|
|||
|
||||
// Wait function CSR_WAIT_FUNCTION
|
||||
static BOOLEAN
|
||||
NTAPI
|
||||
WriteConsoleThread(IN PLIST_ENTRY WaitList,
|
||||
IN PCSR_THREAD WaitThread,
|
||||
IN PCSR_API_MESSAGE WaitApiMessage,
|
||||
|
|
Loading…
Reference in a new issue