[NTVDM]
- Add DPRINTs to the DumpMemory function.
- Use a VgaSetActiveScreenBuffer function to change active screen buffers: it calls the SetConsoleActiveScreenBuffer API but also recreates the VDM console menus, because on windows custom console menus are per-screen-buffer, and not per-console, so that if you set menus when one screen buffer is activated, and if you change it, then your menus become unuseful because for this new active screenbuffer, they are not set. It's completely ridiculous but we need to live with that (on ReactOS we still don't have this behaviour).


git-svn-id: svn://svn.reactos.org/reactos/trunk@64137 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTVDM]: Implement few INT 33h (mouse) functions:
- For function 0Ah, we don't still support defining hardware cursor.
- Implement function 0Ch (define interrupt subroutine params), compatible MSMOUSE v1.0+
- Implement function 14h (exchange interrupt subroutines), compatible MSMOUSE v3.0+
- Implement function 18h (set alternate mouse user handler), that is the same thing as function 0Ch but for a set of maximum 3 handlers, compatible MSMOUSE v6.0+
- Implement function 19h (return user alternate interrupt vector) that returns the handler associated with a call mask, compatible MSMOUSE v6.0+
- Call all those handlers accordingly to their associated call mask, for mouse moves and mouse button presses.

git-svn-id: svn://svn.reactos.org/reactos/trunk@64138 97493ccd-5924-5043-b1f5-66cb403b36ce
[RAMDISK] Remove support for IOCTL_CDROM_GET_LAST_SESSION (useless since r64106)


git-svn-id: svn://svn.reactos.org/reactos/trunk@64139 97493ccd-5924-5043-b1f5-66cb403b36ce
[MOUNTMGR] Misc fixes
    
We're now able to do something and to not crash when receiving a device arrival notification.



git-svn-id: svn://svn.reactos.org/reactos/trunk@64140 97493ccd-5924-5043-b1f5-66cb403b36ce
[MOUNTMGR] Activate it by default



git-svn-id: svn://svn.reactos.org/reactos/trunk@64141 97493ccd-5924-5043-b1f5-66cb403b36ce
[BOOTDATA]
Install the mount manager.


git-svn-id: svn://svn.reactos.org/reactos/trunk@64142 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32K]
Prevent NULL pointer dereference and fix a compiler warning


git-svn-id: svn://svn.reactos.org/reactos/trunk@64143 97493ccd-5924-5043-b1f5-66cb403b36ce
[KDGDB]
 - Add support for the qfThreadInfo GDB request

git-svn-id: svn://svn.reactos.org/reactos/trunk@64144 97493ccd-5924-5043-b1f5-66cb403b36ce
[KDGDB]
 - Improve the 'm' (read memory) gdb request

git-svn-id: svn://svn.reactos.org/reactos/trunk@64145 97493ccd-5924-5043-b1f5-66cb403b36ce
[KDGDB]
 - It can happen that GDB issues something else than qsThreadInfo after qfThreadInfo
 - Properly clean up the callbacks after handling a custom Send/ManipulateState loop

git-svn-id: svn://svn.reactos.org/reactos/trunk@64146 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTVDM]: Code formatting and add a warning about the usage of callbacks.

git-svn-id: svn://svn.reactos.org/reactos/trunk@64147 97493ccd-5924-5043-b1f5-66cb403b36ce
[XDK][DDK]
* Work around what looks like a bug in GCC's handling of #pragma redefine_extname. Its behavior regarding additional underscore prefixes depends on the order of pragma and symbol declaration with GCC, while it's consistent with Clang. Brought to you by Thomas Faber, reviewed by Timo Kreuzer.
CORE-8516

git-svn-id: svn://svn.reactos.org/reactos/trunk@64148 97493ccd-5924-5043-b1f5-66cb403b36ce
[MSI]
* Implement a correct CUSTOMPROC_wrapper wrapper for MSVC.

git-svn-id: svn://svn.reactos.org/reactos/trunk@64149 97493ccd-5924-5043-b1f5-66cb403b36ce
[XDK][DDK]
* Addendum to r64148.

git-svn-id: svn://svn.reactos.org/reactos/trunk@64150 97493ccd-5924-5043-b1f5-66cb403b36ce
[XDK][DDK]
* Handle the rest of cases about the order of pragma and symbol declaration.

git-svn-id: svn://svn.reactos.org/reactos/trunk@64151 97493ccd-5924-5043-b1f5-66cb403b36ce
[KSECDD]
- Fix a typo in KsecQueryFileInformation
- Implement missing ioctls in KsecDeviceControl
- Support METHOD_OUT_DIRECT for IRP_MJ_DEVICE_CONTROL
- Add stubs for KsecEn/DecryptMemory
[ADVAPI32]
- Use ksecdd to handle SystemFunction040 (RtlEncryptMemory) and SystemFunction041 (RtlDecryptMemory) (they still do nothing, but at least they do it in kenrnel mode now ;-))

git-svn-id: svn://svn.reactos.org/reactos/trunk@64153 97493ccd-5924-5043-b1f5-66cb403b36ce
[KDGDB]
 - Always pass down the result of gdb_receive_packet up to KD, so that it knows when a breakin packet was received. (CTRL-C) now works!
 - Generalize the use of the Send <-> ManipulateState callbacks for a better code reading.
 - Get the exception context as soon as it is thrown (instead of playing with the PRCB)
 - Improve the way we attach to GDB: on the first KD call, we set KdContext->ControlCPending so that KD throws an exception. That way we can first initialize our KD stuff, and then quietly attach to GDB
 - Implement the 'p' (get one register) GDB request.
GDB is now much more reliable.

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