[ADVAPI32][MSGINA]
Fix overflow of TokenSource.SourceName.
CORE-8272 #resolve

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63494 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOSKRNL]
Implement NtSaveKey/NtSaveKeyEx and its backend CmSaveKey.
CORE-8259 #resolve #comment Committed in revision r63495.



git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63495 97493ccd-5924-5043-b1f5-66cb403b36ce
[LSASRV]
- Just run again the loop if LsarOpenAccount call failed (that also avoids a call to LsarClose on a NULL handle, that is trapped by the kdbg if one enabled "set condition * first always").
- Free the memory and the opened handles before returning in case of failure of LsapAddPrivilegeToTokenPrivileges. Maybe this cleaning step can be done more elegantly.
Eric, can you please review that? It should be good I think.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63496 97493ccd-5924-5043-b1f5-66cb403b36ce
[PSDK]
- Fix the CMYK macro which was totally broken.
- Code formatting around RGB macro.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63497 97493ccd-5924-5043-b1f5-66cb403b36ce
[USERINIT]
- Remove two unuseful imports.
- Rewrite StrToColorref to not use shell functions, and increase a bit the size of the szColor buffer in SetUserSysColors to match the capabilities of windows.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63498 97493ccd-5924-5043-b1f5-66cb403b36ce
[INCLUDE]
- rewrite msvctarget.h to define all native MSVC architecture macros and do not define x86 sub-architecture numbers, they are deprecated
- basetsd.h: Fix header guard, include msvctarget.h instead of adding some custom defines, add missing FIRMWARE_PTR definition, fix POINTER_64 definition

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63499 97493ccd-5924-5043-b1f5-66cb403b36ce
[INCLUDE]
- ntdef.h: Add #pragma once, include guiddef.h and kernelspecs.h, slightly cleanup the nameless struct/union stuff, fix PVOID64 definition, fix definition of UNALIGNED on ARM, stop checking for too outdated MSVC versions (< 1300), start using ULONG32 instead of ULONG at some places (this is to be able to share the code with winnt.h later), add missing PROBE_ALIGNMENT32, DECLSPEC_NOTHROW, DECLSPEC_UUID, DECLSPEC_NOVTABLE, DECLSPEC_DEPRECATED, DECLSPEC_DEPRECATED_DDK, simpify HANDLE definition.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63500 97493ccd-5924-5043-b1f5-66cb403b36ce
[ASM]
- Fix geninc and spec2def to support the MS ARM assembler
- Add an MSVC compatible version of kxarm.h
- autogenerate ksarm.h with geninc.c
- Move some ARM definitions to NDK


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