[FAST486]: Fix a comment and use the TOGGLE_OPSIZE macro.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65446 97493ccd-5924-5043-b1f5-66cb403b36ce
[FAST486]
- Fix interrupts in V86 mode.
- CLI and STI should call Fast486GetCurrentPrivLevel in their IOPL check, since it
  always returns 3 if the VM flag is set.



git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65447 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTVDM]:
- INT 15h offers some "OS hooks" that do nothing normally but return success.
- Stub "Switch to protected mode" INT 15h AH=89h function.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65448 97493ccd-5924-5043-b1f5-66cb403b36ce
[KERNEL32][CONSRV]
- Remove the USE_CONSOLE_INIT_HANDLES define since now we "support" the console initialization events.
- The events in the CONSOLE_START_INFO structure are console initialization events used for asynchronous console creation, that are set whenever console creation succeeds, or fails.
- Stubplement their usage in CONSRV.

Now we are able to fully use Windows 2k3 kernel32.dll and be able to run console programs with it.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65449 97493ccd-5924-5043-b1f5-66cb403b36ce
[KERNEL32]
- Fix a misspelling.

[NTDLL]
- Fix the prototypes of RtlFormatMessageEx(Ex), this fixes strange apps kills when they use FormatMessage[A/W] with win2k3 kernel32 (that uses internally RtlFormatMessage to do the job).

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65450 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTVDM]: Rewrite video window scrolling code more efficiently (i.e. getting rid of HeapAlloc/Free calls). As a bonus, implement scrolling horizontally.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65451 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOS:MM] Fix warnings when NEWCC is enabled

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65452 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOS:CC] Fix bug in CcPinRead

In fact, this bug is never exposed because CcPinMappedData always returns TRUE.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65453 97493ccd-5924-5043-b1f5-66cb403b36ce
[SCSIPORT] Better error messages when receiving unexpected IOCTLs of mount manager

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65454 97493ccd-5924-5043-b1f5-66cb403b36ce
[PSDK] Add some missing setupapi-related functions

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65455 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTFS]
- Implement GetBestFileNameFromRecord() which will select the higher subsystem name available (POSIX -> Win32 -> DOS) and return it
- Replace the hand-made implementation of it in dirctl functions relying on it (NtfsGetDirectoryInformation(), NtfsGetFullDirectoryInformation(), NtfsGetBothDirectoryInformation())
- Use it in NtfsMakeFCBFromDirEntry()

This fixes browsing POSIX volume (and opening file) in cmd. Even though, explorer doesn't seem to be happy with such change...
This doesn't fix yet the autocompletion in cmd either.


git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65456 97493ccd-5924-5043-b1f5-66cb403b36ce
[CONSRV]: Reduce code duplication and remove unused InputWaitHandle member.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65457 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTFS]
- In NtfsQueryDirectory(), don't upcase name in dir search pattern, it can conflict with POSIX names.
- In CompareFileName(), handle the fact that for Win32 & DOS we do case insensitive comparisons by upcasing name before match. Don't do it for POSIX names!

This fixes name completion in cmd for POSIX. And doesn't break it for Win32 :-).


git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65462 97493ccd-5924-5043-b1f5-66cb403b36ce
[WINSRV]: Pave the way for proper ReactOS shutdown. Part 1/X
CORE-8322

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65463 97493ccd-5924-5043-b1f5-66cb403b36ce
Whitespace fixes.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65464 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32K]: Use the logon process ID instead of a full win32k process object, it simplifies code in some parts.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@65465 97493ccd-5924-5043-b1f5-66cb403b36ce