[CRT]
Do not raise an exception in _invalid_parameter, which is only done in later MSVCRTs. Wine uses a symbolic constant (_MSVCR_VER) to handle this and other things and compiles their CRT code multiple times. As an alternative we could use a global version variable to avoid recompiling, once we implement other CRT dlls.
CORE-8670 #resolve

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64909 97493ccd-5924-5043-b1f5-66cb403b36ce
[CRT/OLDNAMES]
Fix ARM build, patch by Yuntian Zhang with minor adjustment by me.
CORE-8666 #resolve #comment Committed in r64910, thanks!


git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64910 97493ccd-5924-5043-b1f5-66cb403b36ce
[USER32]
 - Fix LookupIconIdFromDirectoryEx, returning 0 when no matching entry is found.
 - Fix error handling when opening a cursor file.
 - Various code beautification here and there
CORE-7575

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64911 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32K]
 - Remove the cursor from the process cache when its handle is deleted, not after.
 - Do not return an invalid handle in NtUserSetCursor.
CORE-7575

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64912 97493ccd-5924-5043-b1f5-66cb403b36ce
[USER32]
 - Return the right value in CopyImage when copying cursors/icons
CORE-7575

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64913 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32K]
 - Reference cursor and icon objects when copying a class from one heap to another.
CORE-7575

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64914 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32K]
 - Call IntDestroyCurIconObject instead of explicitly destroying the handle.
CORE-7575

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64915 97493ccd-5924-5043-b1f5-66cb403b36ce
[FAST486][NTVDM]
Arch, I/O port numbers should always be stored in USHORT variables!



git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64917 97493ccd-5924-5043-b1f5-66cb403b36ce
[USER32]
 - Cursoricon objects are allocated on the user heap, not the desktop heap.
CORE-7575

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64918 97493ccd-5924-5043-b1f5-66cb403b36ce
[USER32]
 - Implement CopyImage(LR_SHARED) case.
CORE-7575

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64919 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32K]
 - Use shared icon handles when copying the small class icon from the larger one.
CORE-7575

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64920 97493ccd-5924-5043-b1f5-66cb403b36ce
[WIN32SS]
 - In an incredibly daring move, enable the long awaited new cursors & icons implementation, featuring:
   - Alpha channeled cursors
   - Animated cursors (only the first frame is displayed now)
   - Less leaks (tm)
   - Tests that pass(tm)
   - Copying icons and cursors from DLL resources, for beautifuler ReactOS, your turn gigaherz ;-)
   - A lot of other things which I am very proud of.
CORE-7575 #resolve

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64921 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTVDM]: Addendum to revision 64917: remove unnecessary casts.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64923 97493ccd-5924-5043-b1f5-66cb403b36ce
[USER32]
* Merge r64866 from the shell branch which had:

* Fix wrong array length passed to GetClassNameW. CID 716222
* Replace other instances of explicit array length to GetWindowTextW with _countof(x).
Based on a patch by Christoph von Wittich.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64924 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOS:IO]
- Simplify how IopLoadUnloadDriver is called by making the function queue a work item instead of its caller

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64925 97493ccd-5924-5043-b1f5-66cb403b36ce
[USER32]
 - Fix wrong size check.
Spotted by Thomas

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64926 97493ccd-5924-5043-b1f5-66cb403b36ce
[WINSPOOL.DRV]
* We're not using any debugging routines here.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64930 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOS:FORMATTING]
- Try to fix indentation in iomgr/driver.c. Whitespace changes only

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64931 97493ccd-5924-5043-b1f5-66cb403b36ce
[DSOUND]
* ProjectVector is used in commented out code.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64932 97493ccd-5924-5043-b1f5-66cb403b36ce
[COMPBATT]
* Arch, don't return NTSTATUS instead of PCOMPBATT_BATTERY_DATA!

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