[NTOS/MM]
 - Properly decrement pagetable frame entry share count when unmapping a system-mapped section
 - Handle the PTE dirty bit

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63977 97493ccd-5924-5043-b1f5-66cb403b36ce
[EVENTVWR]
- Use strsafe functions
- Don't cast malloc
- PSTR/PWSTR typedefs are for null-terminated strings, which output buffers aren't
- "dwData" implies the value is data, not the size of data. Also, cbData is specified in bytes (hence "cb")
- Avoid pointless use of HEAP_ZERO_MEMORY

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63980 97493ccd-5924-5043-b1f5-66cb403b36ce
[USETUP][WINLOGON]
- Acuire SeShutdownPrivilege before calling NtShutdownSystem
CORE-8476

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63981 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOS:PO]
- Enforce SeShutdownPrivilege in NtSetSystemPowerState
CORE-8476 #resolve

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63982 97493ccd-5924-5043-b1f5-66cb403b36ce
[LSASRV]
* Fix MSVC build.
* Arch, review patches before committing!

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63983 97493ccd-5924-5043-b1f5-66cb403b36ce
[UNIATA]
- Update to 0.45a8
CORE-8432 #resolve

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63984 97493ccd-5924-5043-b1f5-66cb403b36ce
[FREELDR]
- Improve GetPciIrqRoutingTable. Patch by Sergey Chernov (serrox at ya dot ru), small modifications by me.
CORE-8440

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63985 97493ccd-5924-5043-b1f5-66cb403b36ce
[USER32]
* Remove unused pointer. CID 1223187.
CORE-7975

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63986 97493ccd-5924-5043-b1f5-66cb403b36ce
[HPP]
Implement support for variable substitution

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63993 97493ccd-5924-5043-b1f5-66cb403b36ce
[SECUR32]
 - Import SSPI module loading from wine

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63994 97493ccd-5924-5043-b1f5-66cb403b36ce
[INCLUDE]
 - import GNUTLS headers
 - define wine's SONAME_LIBGNUTLS to a relevant value

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63995 97493ccd-5924-5043-b1f5-66cb403b36ce
[SCHANNEL]
 - Import TLS/SSL support on top of GNUTLS from wine
Won't work until we ship the gnutls DLLs

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63996 97493ccd-5924-5043-b1f5-66cb403b36ce
[REACTOS.DFF]
 - Add optional GNUTLS DLLs for the curious. They can be grabbed from here: ftp://ftp.gnutls.org/gcrypt/gnutls/w32/gnutls-3.2.16-w32.zip
We will provide a MSI package soon

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63997 97493ccd-5924-5043-b1f5-66cb403b36ce
[XDK]
Initial work for autogenerating ntdef.h and winnt.h to reduce code duplication by sharing a lot of stuff.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63998 97493ccd-5924-5043-b1f5-66cb403b36ce
[README.WINE]
 - Relevant update from previous commits

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@63999 97493ccd-5924-5043-b1f5-66cb403b36ce
[PSDK/...]
- Add/improve some definitions in ntdef.h
- fix definition of SUBLANG_SINDHI_PAKISTAN in winnt.h
- enable ARRAYSIZE in winnt.h
- #undef ARRAYSIZE in certain wine code to avoid redefinition
- Use PCCH instead of PCCHAR in ext2lib (PCCHAR is ntdef.h only)
- remove obsolete definitions from smss.h

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64000 97493ccd-5924-5043-b1f5-66cb403b36ce
[VIDEOPRT]: "...Sesion" --> "...Session": fix a typo.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64001 97493ccd-5924-5043-b1f5-66cb403b36ce
[CMAKE]
- Disable C4244 (implicit integer truncation) warning on MSVC builds because it causes people to add broken casts that make the situation worse.

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64003 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOS:CC]
- Actually flush the whole file in CcFlushCache if FileOffset is NULL instead of just the first 4GB

git-svn-id: svn://svn.reactos.org/reactos/trunk/reactos@64006 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOS:CC]
- Consistently use LONGLONG for file offsets

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