reactos/dll/win32
Hermès Bélusca-Maïto 22c9e139a1 [KERNEL32][CONSRV]
- Make kernel32 / winsrv console CSR structures Win2k3-compliant for Read/WriteConsole functions.
  An attentive code reader will see that there are structure members in CONSOLE_WRITECONSOLE that are
  indeed unused by kernel32 that can be used in ReactOS for undocumented extensions of WriteConsole...
  (for instance, adding a parameter for ANSI codes support, who knows!... :P)
- Fix a bit the support for the CONSOLE_READCONSOLE_CONTROL parameter in ReadConsole (for unicode only).
- Use the actual exe name for command history management, given via a hackish way by ReadConsole:
  the exe name is passed via the 80-byte-length limited static buffer, and is of course retrieved before
  actually using the static buffer (if needed).

[CONSRV]
- Fix writing input events in the console, but first preprocessing them for pausing commands (we treat them separately and remove them),
  then, in case we write many single events, we merge them in case they are mouse moves or repeated key down presses. This helps in not
  overflowing too quickly the input buffer, and that fixes all the remaining kernel32:console winetests!! (see CORE-8256)
- Use the actual exe name for command history management, given via a hackish way by ReadConsole (blame MS!)

Part 8/X

CORE-7931
CORE-8256 #resolve #comment Fixed in the condrv_restructure branch in revision .

svn path=/branches/condrv_restructure/; revision=63793
2014-08-01 18:08:29 +00:00
..
acledit Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
aclui Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
activeds Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
actxprxy Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
advapi32 Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
advpack Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
atl Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
atl80 Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
atl100 Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
authz Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
avicap32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
avifil32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
batt Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
bcrypt Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
beepmidi Sync with trunk r63192. 2014-05-08 14:40:52 +00:00
browseui Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
cabinet Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
cards Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
cfgmgr32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
clusapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
comcat Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
comctl32 Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
comdlg32 Sync with trunk r63283 2014-05-13 22:15:21 +00:00
compstui Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
credui Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
crtdll Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
crypt32 Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
cryptdlg Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
cryptdll Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
cryptnet Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
cryptui Sync with trunk r63283 2014-05-13 22:15:21 +00:00
dbghelp Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
dciman32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
devmgr Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
dhcpcsvc Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
dnsapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
dwmapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
faultrep Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
fmifs Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
framedyn Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
fusion Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
gdiplus Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
getuname Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
hhctrl.ocx Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
hid Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
hlink Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
hnetcfg Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
httpapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
iccvid Sync with trunk r63283 2014-05-13 22:15:21 +00:00
icmp Sync with trunk r63283 2014-05-13 22:15:21 +00:00
ieframe Sync with trunk r63283 2014-05-13 22:15:21 +00:00
iernonce Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
imaadp32.acm Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
imagehlp Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
imm32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
inetcomm Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
inetmib1 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
initpki Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
inseng Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
iologmsg Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
iphlpapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
iprtprio Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
itircl Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
itss Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
jscript Sync with trunk r63283 2014-05-13 22:15:21 +00:00
kernel32 [KERNEL32][CONSRV] 2014-08-01 18:08:29 +00:00
loadperf Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
localspl Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
localui Sync with trunk r63283 2014-05-13 22:15:21 +00:00
lpk Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
lsasrv Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
lz32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
mapi32 Sync with trunk r63283 2014-05-13 22:15:21 +00:00
mciavi32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
mcicda Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
mciqtz32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
mciseq Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
mciwave Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
mlang Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
mmdevapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
mmdrv Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
modemui Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
mpr Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
mprapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msacm32 Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
msadp32.acm Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msafd Sync with trunk r63192. 2014-05-08 14:40:52 +00:00
mscat32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
mscms Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
mscoree Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msctf Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
msftedit Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msg711.acm Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msgina Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
msgsm32.acm Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
mshtml Sync with trunk r63283 2014-05-13 22:15:21 +00:00
mshtml.tlb Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msi Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
msimg32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msimtf Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msisip Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msisys.ocx Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msnet32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msports Sync with trunk r63283 2014-05-13 22:15:21 +00:00
msrle32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
mssign32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
mssip32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
mstask Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msv1_0 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msvcrt Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
msvcrt20 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msvcrt40 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msvfw32 Sync with trunk r63283 2014-05-13 22:15:21 +00:00
msvidc32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
mswsock Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msxml Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msxml2 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msxml3 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msxml4 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
msxml6 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
nddeapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
netapi32 Sync with trunk r63192. 2014-05-08 14:40:52 +00:00
netcfgx Sync with trunk r63283 2014-05-13 22:15:21 +00:00
netevent Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
netid Sync with trunk r63283 2014-05-13 22:15:21 +00:00
netshell Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
newdev Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
ntdsapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
ntlanman Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
ntmarta Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
ntprint Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
objsel Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
odbc32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
odbccp32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
ole32 Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
oleacc Sync with trunk r63283 2014-05-13 22:15:21 +00:00
oleaut32 Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
olecli32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
oledlg Sync with trunk r63283 2014-05-13 22:15:21 +00:00
olepro32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
olesvr32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
olethk32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
pdh Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
pidgen Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
powrprof Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
printui Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
propsys Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
psapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
pstorec Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
qmgr Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
qmgrprxy Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
query Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
rasadhlp Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
rasapi32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
rasdlg Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
rasman Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
resutils Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
riched20 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
riched32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
rpcrt4 Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
rsabase Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
rsaenh Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
samlib Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
samsrv Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
sccbase Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
schannel Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
scrrun Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
secur32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
security Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
sensapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
serialui Sync with trunk r63283 2014-05-13 22:15:21 +00:00
setupapi Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
sfc Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
sfc_os Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
shdoclc Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
shdocvw Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
shell32 Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
shfolder Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
shimgvw Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
shlwapi Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
slbcsp Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
smdll Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
sndblst Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
snmpapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
softpub Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
spoolss Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
srclient Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
stdole2.tlb Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
stdole32.tlb Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
sti Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
sxs Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
syssetup Sync with trunk r63283 2014-05-13 22:15:21 +00:00
t2embed Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
tapi32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
tapiui Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
traffic Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
twain_32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
uext2 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
ufat Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
ufatx Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
unicows Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
untfs Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
updspapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
url Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
urlmon Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
userenv Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
usp10 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
uxtheme Sync with trunk r63192. 2014-05-08 14:40:52 +00:00
vbscript Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
vdmdbg Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
version Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
wbemdisp Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
wbemprox Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
wdmaud.drv Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
wer Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
windowscodecs Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
windowscodecsext Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
winemp3.acm Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
winfax Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
wing32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
winhttp Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
wininet Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
winmm Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
winscard Sync with trunk r63383 . 2014-05-20 17:04:19 +00:00
winspool Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
winsta Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
wintrust Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
wlanapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
wldap32 Sync with trunk r63743. 2014-07-27 20:52:13 +00:00
wmi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
ws2_32 Sync with trunk r63647. 2014-06-27 18:05:20 +00:00
ws2_32_new Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
ws2help Sync with trunk r63192. 2014-05-08 14:40:52 +00:00
wshirda Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
wshtcpip Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
wsock32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
wtsapi32 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
wuapi Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
xinput1_1 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
xinput1_2 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
xinput1_3 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
xinput9_1_0 Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
xmllite Create a branch for console restructuration work. 2014-05-02 14:13:40 +00:00
CMakeLists.txt Sync with trunk r63383 . 2014-05-20 17:04:19 +00:00