[NTDLL:CSR][CSRSRV] Start to deprecate CSR functions removed on Windows 2003.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 21 Nov 2021 22:46:11 +0000 (23:46 +0100)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 21 Nov 2021 23:13:34 +0000 (00:13 +0100)
commit7353af1e3dce135d773411635d385495916a1ea0
tree651aeefc820c9fdfdacce1b419f2a17944424541
parentd575e828d70de86cb0adde9c59a40eef987f9c9f
[NTDLL:CSR][CSRSRV] Start to deprecate CSR functions removed on Windows 2003.

The server-side CsrSrvIdentifyAlertableThread and CsrSrvSetPriorityClass
functions are completely removed in Win2k3+, and are since stubbed by
CsrSrvUnusedFunction instead. They however were present up to Windows XP,
albeit with an extremely minimal implementation.

The corresponding client-side CsrIdentifyAlertableThread and CsrSetPriorityClass
now become just stubs that either trivially succeed or fail, respectively.

See https://www.geoffchappell.com/studies/windows/win32/csrsrv/api/srvinit/apidispatch.htm
for more information.

- Fix typo "al*T*ertable" --> "alertable".
- Remove ROS-specific CSRSS_IDENTIFY_ALERTABLE_THREAD that was
  deprecated since ages (at least before 2005)!
dll/ntdll/csr/api.c
sdk/include/reactos/subsys/csr/csr.h
sdk/include/reactos/subsys/csr/csrmsg.h
subsystems/win32/csrsrv/api.h
subsystems/win32/csrsrv/server.c