[USER32]
Stubplement IsSETEnabled, needed when testing WINSRV.DLL from Windows 2k3 SP1/2.
(this function determines whether the Shutdown Event Tracker is enabled, see http://undoc.airesoft.co.uk/user32.dll/IsSETEnabled.php for more information).

git-svn-id: svn://svn.reactos.org/reactos/trunk@60286 97493ccd-5924-5043-b1f5-66cb403b36ce
[BASESRV]
Stubplement BaseSrvNlsLogon and BaseSrvNlsUpdateRegistryCache needed by Windows-2k3's WINSRV.DLL . Their return value types are unknown, but the number of parameters was obtained by reading http://wcwp.googlecode.com/svn/trunk/wcwp/bin/masm32/include/basesrv.inc .

git-svn-id: svn://svn.reactos.org/reactos/trunk@60287 97493ccd-5924-5043-b1f5-66cb403b36ce
[CSRSS]: Improve two dprints.

git-svn-id: svn://svn.reactos.org/reactos/trunk@60288 97493ccd-5924-5043-b1f5-66cb403b36ce
[MSADP32.ACM]
* Sync with Wine 1.7.1.
CORE-7469

git-svn-id: svn://svn.reactos.org/reactos/trunk@60290 97493ccd-5924-5043-b1f5-66cb403b36ce
[MSCAT32]
* Sync with Wine 1.7.1.
CORE-7469

git-svn-id: svn://svn.reactos.org/reactos/trunk@60291 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOS]
- Stubplement ObDeleteCapturedInsertInfo, which was added in Win2k3 (and is present in Vista+) and in Win2k SP4, according to http://www.geoffchappell.com/studies/windows/km/ntoskrnl/history/names50sp4.htm .
  Its prototype come from http://hi.baidu.com/_achillis/item/422140888137cb834514cf08 (this is a chinese article explaining some of the changes in the Object Manager from Windows XP to 7).
- Stubplement ObSetHandleAttributes, which was added in NT 5.1 (XP) (see http://www.geoffchappell.com/studies/windows/km/ntoskrnl/history/names51.htm); its prototype is given in http://processhacker.sourceforge.net/doc/ntfill_8h.html#a7f6e063aedf2354a7396b096830647d5 .
  Its second parameter, a pointer to a OBJECT_HANDLE_FLAG_INFORMATION structure, according to its definition in http://processhacker.sourceforge.net/doc/struct___o_b_j_e_c_t___h_a_n_d_l_e___f_l_a_g___i_n_f_o_r_m_a_t_i_o_n.html,
  appears to correspond to our OBJECT_HANDLE_ATTRIBUTE_INFORMATION structure defined in http://git.reactos.org/?p=reactos.git;a=blob;f=reactos/include/ndk/obtypes.h;hb=HEAD#l259 .

Those functions are needed by Win2k3's win32k.sys .

git-svn-id: svn://svn.reactos.org/reactos/trunk@60292 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOS]: Fix declaration and definition of PsGetProcessSessionId: indeed, as PsGetCurrentProcessSessionId, we should call MmGetSessionId to retrieve the real process session id.

git-svn-id: svn://svn.reactos.org/reactos/trunk@60293 97493ccd-5924-5043-b1f5-66cb403b36ce
[MSCMS]
* Sync with Wine 1.7.1.
CORE-7469

git-svn-id: svn://svn.reactos.org/reactos/trunk@60294 97493ccd-5924-5043-b1f5-66cb403b36ce
[MSCMS_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

git-svn-id: svn://svn.reactos.org/reactos/trunk@60295 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOS]
- Implement PsGetCurrentThreadProcess, PsGetCurrentThreadProcessId and PsGetCurrentThreadTeb based on their non-current versions.
- Fix PsGetThreadSessionId to call MmGetSessionId.
- Fix the return value type of PsGetJobSessionId.
- Remove an unneeded cast.

git-svn-id: svn://svn.reactos.org/reactos/trunk@60296 97493ccd-5924-5043-b1f5-66cb403b36ce
[PSDK]
* Import inputscope.idl from Wine.

git-svn-id: svn://svn.reactos.org/reactos/trunk@60297 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOS]
- Fix Job object session ID setting and comparison; fix a list initialization.
- Correct some comments.
- As Alex noticed it 7 years and 2 months ago, in revision 23197, the ProcessSessionInformation case in the NtSetInformationProcess API doesn't set a new session ID for the given process anymore (checked by myself too), because it is set once and for all at process creation time and is stored inside the Process->Session structure managed by MM. Therefore fake changing it: we just return success if the user-defined value is the same as the session ID of the process, and otherwise we fail.


git-svn-id: svn://svn.reactos.org/reactos/trunk@60298 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOS]
Set the session ID to the process' associated PEB (introduced in revision 43476, the code erratically disappeared in revision 57011 when Alex fixed sessions).

git-svn-id: svn://svn.reactos.org/reactos/trunk@60299 97493ccd-5924-5043-b1f5-66cb403b36ce
[MESA/OPENGL32]
 - Disable un-used mesa features (ATI/NV programs) for a leaner build
 - Print a fixme instead of asserting in software version of wglGetProcAddress

git-svn-id: svn://svn.reactos.org/reactos/trunk@60300 97493ccd-5924-5043-b1f5-66cb403b36ce
[NTOS]
- Fix disabling impersonation in PsDisableImpersonation, and
- Fix how we do restore impersonation in NtOpenThreadTokenEx.
Patch by Thomas Faber,
CORE-7476 #comment Patch committed in revision 60301, thanks :). Please retest the bug.

git-svn-id: svn://svn.reactos.org/reactos/trunk@60301 97493ccd-5924-5043-b1f5-66cb403b36ce
[RTL]
- Implement and export RtlGetCriticalSectionRecursionCount (introduced in NT 5.2 SP1, see http://www.geoffchappell.com/studies/windows/win32/ntdll/history/names52.htm) which definition comes from http://processhacker.sourceforge.net/doc/ntrtl_8h.html#a26bd65dfad63985a247700c2c2ab9e86.
- Fix the return type of RtlSetCriticalSectionSpinCount.
- Export the already-existing RtlQueryInformationActiveActivationContext API.

RtlQueryInformationActiveActivationContext and RtlGetCriticalSectionRecursionCount are needed by Win2k3 user32.dll and winsrv.dll .

git-svn-id: svn://svn.reactos.org/reactos/trunk@60302 97493ccd-5924-5043-b1f5-66cb403b36ce
[MSCTF]
* Sync with Wine 1.7.1.
CORE-7469

git-svn-id: svn://svn.reactos.org/reactos/trunk@60303 97493ccd-5924-5043-b1f5-66cb403b36ce
[MSCTF_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

git-svn-id: svn://svn.reactos.org/reactos/trunk@60304 97493ccd-5924-5043-b1f5-66cb403b36ce
[MSG711.ACM]
* Sync with Wine 1.7.1.
CORE-7469

git-svn-id: svn://svn.reactos.org/reactos/trunk@60305 97493ccd-5924-5043-b1f5-66cb403b36ce
[MSGSM32.ACM]
* Sync with Wine 1.7.1.
CORE-7469

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