[KERNEL32][CONSRV]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 20 Apr 2014 22:40:39 +0000 (22:40 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 20 Apr 2014 22:40:39 +0000 (22:40 +0000)
commit38be5bceff155d8c0cbc8629c2c92e1c5c2037c4
tree70fd0a076b17f7265e0b07816f7e8d85e07bce0e
parent023832206627277dda03a210e82fec16cbfaeb2a
[KERNEL32][CONSRV]
Make kernel32 / winsrv console CSR structures Win2k3-compliant for CreateConsoleScreenBuffer.
The aim is to be able to put our kernel32.dll or winsrv.dll on win2k3, and vice-versa.

Because of that, we need to introduce and use the redundant hMutex and lpBitMap in the CONSOLE_CREATESCREENBUFFER structure, instead of the ones that are already present in its CONSOLE_GRAPHICS_BUFFER_INFO member ...
Isn't MS dumb sometimes?

I also homogeneize some variable names wrt. equivalent ones that I use elsewhere, and I fix a broken return value in the case the API fails.

Part 3/X

CORE-7931

svn path=/trunk/; revision=62846
reactos/dll/win32/kernel32/client/console/console.c
reactos/include/reactos/subsys/win/conmsg.h
reactos/win32ss/user/winsrv/consrv/conoutput.c