[WIN32SS][USERSRV] Add CSR API_NUMBER comments

This commit is contained in:
Katayama Hirofumi MZ 2020-01-20 08:06:40 +09:00
parent 2bf4180c80
commit 8dc90a4c7e
3 changed files with 10 additions and 0 deletions

View file

@ -119,6 +119,7 @@ CreateSystemThreads(PVOID pParam)
return 0; return 0;
} }
/* API_NUMBER: UserpCreateSystemThreads */
CSR_API(SrvCreateSystemThreads) CSR_API(SrvCreateSystemThreads)
{ {
NTSTATUS Status = CsrExecServerThread(CreateSystemThreads, 0); NTSTATUS Status = CsrExecServerThread(CreateSystemThreads, 0);
@ -130,12 +131,14 @@ CSR_API(SrvCreateSystemThreads)
return Status; return Status;
} }
/* API_NUMBER: UserpActivateDebugger */
CSR_API(SrvActivateDebugger) CSR_API(SrvActivateDebugger)
{ {
DPRINT1("%s not yet implemented\n", __FUNCTION__); DPRINT1("%s not yet implemented\n", __FUNCTION__);
return STATUS_NOT_IMPLEMENTED; return STATUS_NOT_IMPLEMENTED;
} }
/* API_NUMBER: UserpGetThreadConsoleDesktop */
CSR_API(SrvGetThreadConsoleDesktop) CSR_API(SrvGetThreadConsoleDesktop)
{ {
NTSTATUS Status; NTSTATUS Status;
@ -153,12 +156,14 @@ CSR_API(SrvGetThreadConsoleDesktop)
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
/* API_NUMBER: UserpDeviceEvent */
CSR_API(SrvDeviceEvent) CSR_API(SrvDeviceEvent)
{ {
DPRINT1("%s not yet implemented\n", __FUNCTION__); DPRINT1("%s not yet implemented\n", __FUNCTION__);
return STATUS_NOT_IMPLEMENTED; return STATUS_NOT_IMPLEMENTED;
} }
/* API_NUMBER: UserpLogon */
CSR_API(SrvLogon) CSR_API(SrvLogon)
{ {
PUSER_LOGON LogonRequest = &((PUSER_API_MESSAGE)ApiMessage)->Data.LogonRequest; PUSER_LOGON LogonRequest = &((PUSER_API_MESSAGE)ApiMessage)->Data.LogonRequest;

View file

@ -26,6 +26,7 @@ extern HANDLE CsrApiPort;
/* PUBLIC SERVER APIS *********************************************************/ /* PUBLIC SERVER APIS *********************************************************/
/* API_NUMBER: UserpRegisterLogonProcess */
CSR_API(SrvRegisterLogonProcess) CSR_API(SrvRegisterLogonProcess)
{ {
PUSER_REGISTER_LOGON_PROCESS RegisterLogonProcessRequest = &((PUSER_API_MESSAGE)ApiMessage)->Data.RegisterLogonProcessRequest; PUSER_REGISTER_LOGON_PROCESS RegisterLogonProcessRequest = &((PUSER_API_MESSAGE)ApiMessage)->Data.RegisterLogonProcessRequest;
@ -76,6 +77,7 @@ CSR_API(SrvRegisterLogonProcess)
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
/* API_NUMBER: UserpRegisterServicesProcess */
CSR_API(SrvRegisterServicesProcess) CSR_API(SrvRegisterServicesProcess)
{ {
PUSER_REGISTER_SERVICES_PROCESS RegisterServicesProcessRequest = &((PUSER_API_MESSAGE)ApiMessage)->Data.RegisterServicesProcessRequest; PUSER_REGISTER_SERVICES_PROCESS RegisterServicesProcessRequest = &((PUSER_API_MESSAGE)ApiMessage)->Data.RegisterServicesProcessRequest;

View file

@ -799,6 +799,7 @@ UserClientShutdown(IN PCSR_PROCESS CsrProcess,
/* PUBLIC SERVER APIS *********************************************************/ /* PUBLIC SERVER APIS *********************************************************/
/* API_NUMBER: UserpExitWindowsEx */
CSR_API(SrvExitWindowsEx) CSR_API(SrvExitWindowsEx)
{ {
NTSTATUS Status; NTSTATUS Status;
@ -823,6 +824,7 @@ CSR_API(SrvExitWindowsEx)
return Status; return Status;
} }
/* API_NUMBER: UserpEndTask */
CSR_API(SrvEndTask) CSR_API(SrvEndTask)
{ {
PUSER_END_TASK EndTaskRequest = &((PUSER_API_MESSAGE)ApiMessage)->Data.EndTaskRequest; PUSER_END_TASK EndTaskRequest = &((PUSER_API_MESSAGE)ApiMessage)->Data.EndTaskRequest;
@ -867,6 +869,7 @@ CSR_API(SrvEndTask)
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
/* API_NUMBER: UserpRecordShutdownReason */
CSR_API(SrvRecordShutdownReason) CSR_API(SrvRecordShutdownReason)
{ {
DPRINT1("%s not yet implemented\n", __FUNCTION__); DPRINT1("%s not yet implemented\n", __FUNCTION__);