https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8dc90a4c7ea00b0d5a0ee…
commit 8dc90a4c7ea00b0d5a0ee3da51bc83720a0ecded
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Jan 20 08:06:40 2020 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Mon Jan 20 08:06:40 2020 +0900
[WIN32SS][USERSRV] Add CSR API_NUMBER comments
---
win32ss/user/winsrv/usersrv/init.c | 5 +++++
win32ss/user/winsrv/usersrv/register.c | 2 ++
win32ss/user/winsrv/usersrv/shutdown.c | 3 +++
3 files changed, 10 insertions(+)
diff --git a/win32ss/user/winsrv/usersrv/init.c b/win32ss/user/winsrv/usersrv/init.c
index f3c5be8a4dc..0fb1922ff8d 100644
--- a/win32ss/user/winsrv/usersrv/init.c
+++ b/win32ss/user/winsrv/usersrv/init.c
@@ -119,6 +119,7 @@ CreateSystemThreads(PVOID pParam)
return 0;
}
+/* API_NUMBER: UserpCreateSystemThreads */
CSR_API(SrvCreateSystemThreads)
{
NTSTATUS Status = CsrExecServerThread(CreateSystemThreads, 0);
@@ -130,12 +131,14 @@ CSR_API(SrvCreateSystemThreads)
return Status;
}
+/* API_NUMBER: UserpActivateDebugger */
CSR_API(SrvActivateDebugger)
{
DPRINT1("%s not yet implemented\n", __FUNCTION__);
return STATUS_NOT_IMPLEMENTED;
}
+/* API_NUMBER: UserpGetThreadConsoleDesktop */
CSR_API(SrvGetThreadConsoleDesktop)
{
NTSTATUS Status;
@@ -153,12 +156,14 @@ CSR_API(SrvGetThreadConsoleDesktop)
return STATUS_SUCCESS;
}
+/* API_NUMBER: UserpDeviceEvent */
CSR_API(SrvDeviceEvent)
{
DPRINT1("%s not yet implemented\n", __FUNCTION__);
return STATUS_NOT_IMPLEMENTED;
}
+/* API_NUMBER: UserpLogon */
CSR_API(SrvLogon)
{
PUSER_LOGON LogonRequest =
&((PUSER_API_MESSAGE)ApiMessage)->Data.LogonRequest;
diff --git a/win32ss/user/winsrv/usersrv/register.c
b/win32ss/user/winsrv/usersrv/register.c
index 0a521bcdd4e..9f400881d4e 100644
--- a/win32ss/user/winsrv/usersrv/register.c
+++ b/win32ss/user/winsrv/usersrv/register.c
@@ -26,6 +26,7 @@ extern HANDLE CsrApiPort;
/* PUBLIC SERVER APIS *********************************************************/
+/* API_NUMBER: UserpRegisterLogonProcess */
CSR_API(SrvRegisterLogonProcess)
{
PUSER_REGISTER_LOGON_PROCESS RegisterLogonProcessRequest =
&((PUSER_API_MESSAGE)ApiMessage)->Data.RegisterLogonProcessRequest;
@@ -76,6 +77,7 @@ CSR_API(SrvRegisterLogonProcess)
return STATUS_SUCCESS;
}
+/* API_NUMBER: UserpRegisterServicesProcess */
CSR_API(SrvRegisterServicesProcess)
{
PUSER_REGISTER_SERVICES_PROCESS RegisterServicesProcessRequest =
&((PUSER_API_MESSAGE)ApiMessage)->Data.RegisterServicesProcessRequest;
diff --git a/win32ss/user/winsrv/usersrv/shutdown.c
b/win32ss/user/winsrv/usersrv/shutdown.c
index b07609314c8..e81c6478232 100644
--- a/win32ss/user/winsrv/usersrv/shutdown.c
+++ b/win32ss/user/winsrv/usersrv/shutdown.c
@@ -799,6 +799,7 @@ UserClientShutdown(IN PCSR_PROCESS CsrProcess,
/* PUBLIC SERVER APIS *********************************************************/
+/* API_NUMBER: UserpExitWindowsEx */
CSR_API(SrvExitWindowsEx)
{
NTSTATUS Status;
@@ -823,6 +824,7 @@ CSR_API(SrvExitWindowsEx)
return Status;
}
+/* API_NUMBER: UserpEndTask */
CSR_API(SrvEndTask)
{
PUSER_END_TASK EndTaskRequest =
&((PUSER_API_MESSAGE)ApiMessage)->Data.EndTaskRequest;
@@ -867,6 +869,7 @@ CSR_API(SrvEndTask)
return STATUS_SUCCESS;
}
+/* API_NUMBER: UserpRecordShutdownReason */
CSR_API(SrvRecordShutdownReason)
{
DPRINT1("%s not yet implemented\n", __FUNCTION__);