/reactos/sdk/lib/lsalib/ |
H A D | lsa.c | 38 LSA_API_MSG ApiMessage; in LsaCallAuthenticationPackage() local 44 ApiMessage.h.u1.s1.DataLength = LSA_PORT_DATA_SIZE(ApiMessage.CallAuthenticationPackage); in LsaCallAuthenticationPackage() 46 ApiMessage.h.u2.ZeroInit = 0; in LsaCallAuthenticationPackage() 64 return ApiMessage.Status; in LsaCallAuthenticationPackage() 82 LSA_API_MSG ApiMessage; in LsaDeregisterLogonProcess() local 88 ApiMessage.h.u1.s1.DataLength = LSA_PORT_DATA_SIZE(ApiMessage.DeregisterLogonProcess); in LsaDeregisterLogonProcess() 90 ApiMessage.h.u2.ZeroInit = 0; in LsaDeregisterLogonProcess() 140 LSA_API_MSG ApiMessage; in LsaLookupAuthenticationPackage() local 150 ApiMessage.h.u1.s1.DataLength = LSA_PORT_DATA_SIZE(ApiMessage.LookupAuthenticationPackage); in LsaLookupAuthenticationPackage() 199 LSA_API_MSG ApiMessage; in LsaLogonUser() local [all …]
|
/reactos/dll/win32/kernel32/client/console/ |
H A D | console.c | 400 CONSOLE_API_MESSAGE ApiMessage; in ConsoleMenuControl() local 429 CONSOLE_API_MESSAGE ApiMessage; in DuplicateConsoleHandle() local 468 CONSOLE_API_MESSAGE ApiMessage; in GetConsoleHandleInformation() local 499 CONSOLE_API_MESSAGE ApiMessage; in SetConsoleHandleInformation() local 528 CONSOLE_API_MESSAGE ApiMessage; in GetConsoleDisplayMode() local 566 CONSOLE_API_MESSAGE ApiMessage; in GetConsoleFontInfo() local 616 CONSOLE_API_MESSAGE ApiMessage; in GetConsoleFontSize() local 647 CONSOLE_API_MESSAGE ApiMessage; in GetConsoleHardwareState() local 698 CONSOLE_API_MESSAGE ApiMessage; in GetCurrentConsoleFont() local 731 CONSOLE_API_MESSAGE ApiMessage; in GetNumberOfConsoleFonts() local [all …]
|
H A D | history.c | 33 CONSOLE_API_MESSAGE ApiMessage; in IntExpungeConsoleCommandHistory() local 71 if (!NT_SUCCESS(ApiMessage.Status)) in IntExpungeConsoleCommandHistory() 72 BaseSetLastNTError(ApiMessage.Status); in IntExpungeConsoleCommandHistory() 79 CONSOLE_API_MESSAGE ApiMessage; in IntGetConsoleCommandHistory() local 120 if (!NT_SUCCESS(ApiMessage.Status)) in IntGetConsoleCommandHistory() 140 CONSOLE_API_MESSAGE ApiMessage; in IntGetConsoleCommandHistoryLength() local 178 if (!NT_SUCCESS(ApiMessage.Status)) in IntGetConsoleCommandHistoryLength() 193 CONSOLE_API_MESSAGE ApiMessage; in IntSetConsoleNumberOfCommands() local 232 if (!NT_SUCCESS(ApiMessage.Status)) in IntSetConsoleNumberOfCommands() 354 CONSOLE_API_MESSAGE ApiMessage; in SetConsoleCommandHistoryMode() local [all …]
|
H A D | alias.c | 29 CONSOLE_API_MESSAGE ApiMessage; in IntAddConsoleAlias() local 104 if (!NT_SUCCESS(ApiMessage.Status)) in IntAddConsoleAlias() 172 CONSOLE_API_MESSAGE ApiMessage; in IntGetConsoleAlias() local 231 if (!NT_SUCCESS(ApiMessage.Status)) in IntGetConsoleAlias() 306 CONSOLE_API_MESSAGE ApiMessage; in IntGetConsoleAliases() local 351 if (!NT_SUCCESS(ApiMessage.Status)) in IntGetConsoleAliases() 413 CONSOLE_API_MESSAGE ApiMessage; in IntGetConsoleAliasesLength() local 450 if (!NT_SUCCESS(ApiMessage.Status)) in IntGetConsoleAliasesLength() 489 CONSOLE_API_MESSAGE ApiMessage; in IntGetConsoleAliasExes() local 513 if (!NT_SUCCESS(ApiMessage.Status)) in IntGetConsoleAliasExes() [all …]
|
H A D | vista.c | 29 CONSOLE_API_MESSAGE ApiMessage; in GetConsoleHistoryInfo() local 30 PCONSOLE_GETSETHISTORYINFO HistoryInfoRequest = &ApiMessage.Data.HistoryInfoRequest; in GetConsoleHistoryInfo() 38 CsrClientCallServer((PCSR_API_MESSAGE)&ApiMessage, in GetConsoleHistoryInfo() 42 if (!NT_SUCCESS(ApiMessage.Status)) in GetConsoleHistoryInfo() 44 BaseSetLastNTError(ApiMessage.Status); in GetConsoleHistoryInfo() 64 CONSOLE_API_MESSAGE ApiMessage; in SetConsoleHistoryInfo() local 65 PCONSOLE_GETSETHISTORYINFO HistoryInfoRequest = &ApiMessage.Data.HistoryInfoRequest; in SetConsoleHistoryInfo() 77 CsrClientCallServer((PCSR_API_MESSAGE)&ApiMessage, in SetConsoleHistoryInfo() 81 if (!NT_SUCCESS(ApiMessage.Status)) in SetConsoleHistoryInfo() 83 BaseSetLastNTError(ApiMessage.Status); in SetConsoleHistoryInfo()
|
H A D | readwrite.c | 44 CONSOLE_API_MESSAGE ApiMessage; in IntReadConsole() local 183 Success = NT_SUCCESS(ApiMessage.Status); in IntReadConsole() 239 CONSOLE_API_MESSAGE ApiMessage; in IntGetConsoleInput() local 305 Success = NT_SUCCESS(ApiMessage.Status); in IntGetConsoleInput() 349 CONSOLE_API_MESSAGE ApiMessage; in IntReadConsoleOutput() local 485 CONSOLE_API_MESSAGE ApiMessage; in IntReadConsoleOutputCode() local 606 CONSOLE_API_MESSAGE ApiMessage; in IntWriteConsole() local 718 CONSOLE_API_MESSAGE ApiMessage; in IntWriteConsoleInput() local 818 CONSOLE_API_MESSAGE ApiMessage; in IntWriteConsoleOutput() local 989 CONSOLE_API_MESSAGE ApiMessage; in IntWriteConsoleOutputCode() local [all …]
|
/reactos/dll/win32/secur32/ |
H A D | lsalpc.c | 212 LSA_API_MSG ApiMessage; in LsaEnumerateLogonSessions() local 222 ApiMessage.h.u1.s1.DataLength = LSA_PORT_DATA_SIZE(ApiMessage.EnumLogonSessions); in LsaEnumerateLogonSessions() 224 ApiMessage.h.u2.ZeroInit = 0; in LsaEnumerateLogonSessions() 238 return ApiMessage.Status; in LsaEnumerateLogonSessions() 257 LSA_API_MSG ApiMessage; in LsaGetLogonSessionData() local 268 ApiMessage.h.u1.s1.DataLength = LSA_PORT_DATA_SIZE(ApiMessage.GetLogonSessionData); in LsaGetLogonSessionData() 270 ApiMessage.h.u2.ZeroInit = 0; in LsaGetLogonSessionData() 335 LSA_API_MSG ApiMessage; in LsaRegisterPolicyChangeNotification() local 346 ApiMessage.h.u1.s1.DataLength = LSA_PORT_DATA_SIZE(ApiMessage.PolicyChangeNotify); in LsaRegisterPolicyChangeNotification() 382 LSA_API_MSG ApiMessage; in LsaUnregisterPolicyChangeNotification() local [all …]
|
/reactos/ntoskrnl/dbgk/ |
H A D | dbgkutil.c | 98 DBGKM_MSG ApiMessage; in DbgkCreateThread() local 212 ApiMessage.h.u2.ZeroInit = 0; in DbgkCreateThread() 293 ApiMessage.h.u2.ZeroInit = 0; in DbgkCreateThread() 306 DBGKM_MSG ApiMessage; in DbgkExitProcess() local 327 ApiMessage.h.u2.ZeroInit = 0; in DbgkExitProcess() 342 DBGKM_MSG ApiMessage; in DbgkExitThread() local 364 ApiMessage.h.u2.ZeroInit = 0; in DbgkExitThread() 385 DBGKM_MSG ApiMessage; in DbgkMapViewOfSection() local 423 ApiMessage.h.u2.ZeroInit = 0; in DbgkMapViewOfSection() 438 DBGKM_MSG ApiMessage; in DbgkUnMapViewOfSection() local [all …]
|
H A D | dbgkobj.c | 321 DBGKM_MSG ApiMessage; in DbgkForwardException() local 334 ApiMessage.h.u2.ZeroInit = 0; in DbgkForwardException() 335 ApiMessage.h.u2.s2.Type = LPC_DEBUG_EVENT; in DbgkForwardException() 336 ApiMessage.ApiNumber = DbgKmExceptionApi; in DbgkForwardException() 349 ApiMessage.h.u2.ZeroInit = 0; in DbgkForwardException() 350 ApiMessage.h.u2.s2.Type = LPC_EXCEPTION; in DbgkForwardException() 465 DBGKM_MSG ApiMessage; in DbgkpPostFakeModuleMessages() local 466 PDBGKM_LOAD_DLL LoadDll = &ApiMessage.LoadDll; in DbgkpPostFakeModuleMessages() 604 DBGKM_MSG ApiMessage; in DbgkpPostFakeThreadMessages() local 663 RtlZeroMemory(&ApiMessage, sizeof(ApiMessage)); in DbgkpPostFakeThreadMessages() [all …]
|
/reactos/win32ss/user/ntuser/ |
H A D | csr.c | 90 ApiMessage->Header.u2.ZeroInit = 0; in CsrClientCallServer() 92 ApiMessage->Header.u1.s1.DataLength = ApiMessage->Header.u1.s1.TotalLength - in CsrClientCallServer() 93 sizeof(ApiMessage->Header); in CsrClientCallServer() 96 ApiMessage->ApiNumber = ApiNumber; in CsrClientCallServer() 97 ApiMessage->CsrCaptureData = NULL; in CsrClientCallServer() 101 ApiMessage->Header.u1.s1.DataLength, in CsrClientCallServer() 102 ApiMessage->Header.u1.s1.TotalLength); in CsrClientCallServer() 193 ApiMessage->Status = Status; in CsrClientCallServer() 198 return ApiMessage->Status; in CsrClientCallServer() 249 USER_API_MESSAGE ApiMessage; in UserCreateSystemThread() local [all …]
|
/reactos/win32ss/user/user32/misc/ |
H A D | logon.c | 20 USER_API_MESSAGE ApiMessage; in RegisterServicesProcess() local 25 CsrClientCallServer((PCSR_API_MESSAGE)&ApiMessage, in RegisterServicesProcess() 29 if (!NT_SUCCESS(ApiMessage.Status)) in RegisterServicesProcess() 31 UserSetLastNTError(ApiMessage.Status); in RegisterServicesProcess() 50 USER_API_MESSAGE ApiMessage; in RegisterLogonProcess() local 56 CsrClientCallServer((PCSR_API_MESSAGE)&ApiMessage, in RegisterLogonProcess() 60 if (!NT_SUCCESS(ApiMessage.Status)) in RegisterLogonProcess() 63 UserSetLastNTError(ApiMessage.Status); in RegisterLogonProcess() 76 USER_API_MESSAGE ApiMessage; in Logon() local 77 PUSER_LOGON LogonRequest = &ApiMessage.Data.LogonRequest; in Logon() [all …]
|
H A D | exit.c | 96 USER_API_MESSAGE ApiMessage; in ExitWindowsWorker() local 112 CsrClientCallServer((PCSR_API_MESSAGE)&ApiMessage, in ExitWindowsWorker() 118 if (NT_SUCCESS(ApiMessage.Status) || ApiMessage.Status == STATUS_CANT_WAIT) in ExitWindowsWorker() 125 UserSetLastNTError(ApiMessage.Status); in ExitWindowsWorker() 134 if (NT_SUCCESS(ApiMessage.Status)) in ExitWindowsWorker() 147 if (ApiMessage.Status != STATUS_CANT_WAIT || bCalledFromThread) in ExitWindowsWorker() 149 UserSetLastNTError(ApiMessage.Status); in ExitWindowsWorker() 211 USER_API_MESSAGE ApiMessage; in EndTask() local 220 CsrClientCallServer((PCSR_API_MESSAGE)&ApiMessage, in EndTask() 224 if (!NT_SUCCESS(ApiMessage.Status)) in EndTask() [all …]
|
H A D | stubs.c | 506 USER_API_MESSAGE ApiMessage; in DeviceEventWorker() local 507 PUSER_DEVICE_EVENT_MSG pusem = &ApiMessage.Data.DeviceEventMsg; in DeviceEventWorker() 519 CsrClientCallServer( (PCSR_API_MESSAGE)&ApiMessage, in DeviceEventWorker() 539 CsrClientCallServer( (PCSR_API_MESSAGE)&ApiMessage, in DeviceEventWorker() 547 if (NT_SUCCESS(ApiMessage.Status)) in DeviceEventWorker() 552 return ApiMessage.Status; in DeviceEventWorker()
|
/reactos/subsystems/csr/csrlib/ |
H A D | connect.c | 267 CSR_API_MESSAGE ApiMessage; in CsrClientConnectToServer() local 308 Status = CsrClientCallServer(&ApiMessage, in CsrClientConnectToServer() 367 _Inout_ PCSR_API_MESSAGE ApiMessage, in CsrClientCallServer() argument 382 ApiMessage->Header.u2.ZeroInit = 0; in CsrClientCallServer() 392 ApiMessage->ApiNumber = ApiNumber; in CsrClientCallServer() 393 ApiMessage->CsrCaptureData = NULL; in CsrClientCallServer() 397 ApiMessage->Header.u1.s1.DataLength, in CsrClientCallServer() 475 ApiMessage->Status = Status; in CsrClientCallServer() 487 Status = CsrServerApiRoutine(ApiMessage, ApiMessage); in CsrClientCallServer() 493 ApiMessage->Status = Status; in CsrClientCallServer() [all …]
|
H A D | api.c | 41 CSR_API_MESSAGE ApiMessage; in CsrIdentifyAlertableThread() local 45 IdentifyAlertableThread = &ApiMessage.Data.IdentifyAlertableThread; in CsrIdentifyAlertableThread() 49 Status = CsrClientCallServer(&ApiMessage, in CsrIdentifyAlertableThread() 73 CSR_API_MESSAGE ApiMessage; in CsrSetPriorityClass() local 74 PCSR_SET_PRIORITY_CLASS SetPriorityClass = &ApiMessage.Data.SetPriorityClass; in CsrSetPriorityClass() 81 Status = CsrClientCallServer(&ApiMessage, in CsrSetPriorityClass()
|
/reactos/subsystems/csr/csrsrv/ |
H A D | api.c | 199 &ApiMessage->Header, in CsrApiHandleConnectionRequest() 1124 IN PCSR_API_MESSAGE ApiMessage) in CsrCaptureArguments() argument 1137 ClientCaptureBuffer = ApiMessage->CsrCaptureData; in CsrCaptureArguments() 1205 ApiMessage->Status = STATUS_INVALID_PARAMETER; in CsrCaptureArguments() 1215 ApiMessage->Status = STATUS_NO_MEMORY; in CsrCaptureArguments() 1276 CurrentOffset += (ULONG_PTR)ApiMessage; in CsrCaptureArguments() 1302 if (ApiMessage->Status != STATUS_SUCCESS) in CsrCaptureArguments() 1346 ServerCaptureBuffer = ApiMessage->CsrCaptureData; in CsrReleaseCapturedArguments() 1356 ApiMessage->CsrCaptureData = ClientCaptureBuffer; in CsrReleaseCapturedArguments() 1375 CurrentOffset += (ULONG_PTR)ApiMessage; in CsrReleaseCapturedArguments() [all …]
|
H A D | session.c | 208 CsrSbCreateSession(IN PSB_API_MSG ApiMessage) in CsrSbCreateSession() argument 210 PSB_CREATE_SESSION_MSG CreateSession = &ApiMessage->u.CreateSession; in CsrSbCreateSession() 232 ApiMessage->ReturnValue = STATUS_NO_MEMORY; in CsrSbCreateSession() 280 ApiMessage->ReturnValue = STATUS_NO_MEMORY; in CsrSbCreateSession() 342 ApiMessage->ReturnValue = NtResumeThread(hThread, NULL); in CsrSbCreateSession() 365 CsrSbForeignSessionComplete(IN PSB_API_MSG ApiMessage) in CsrSbForeignSessionComplete() argument 368 ApiMessage->ReturnValue = STATUS_NOT_IMPLEMENTED; in CsrSbForeignSessionComplete() 388 CsrSbTerminateSession(IN PSB_API_MSG ApiMessage) in CsrSbTerminateSession() argument 390 ApiMessage->ReturnValue = STATUS_NOT_IMPLEMENTED; in CsrSbTerminateSession() 410 CsrSbCreateProcess(IN PSB_API_MSG ApiMessage) in CsrSbCreateProcess() argument [all …]
|
H A D | api.h | 83 IN PCSR_API_MESSAGE ApiMessage); 87 CsrReleaseCapturedArguments(IN PCSR_API_MESSAGE ApiMessage); 223 CsrSbCreateSession(IN PSB_API_MSG ApiMessage); 227 CsrSbTerminateSession(IN PSB_API_MSG ApiMessage); 231 CsrSbForeignSessionComplete(IN PSB_API_MSG ApiMessage); 235 CsrSbCreateProcess(IN PSB_API_MSG ApiMessage); 243 CsrApiHandleConnectionRequest(IN PCSR_API_MESSAGE ApiMessage);
|
/reactos/dll/win32/kernel32/client/ |
H A D | vdm.c | 96 IN PBASE_API_MESSAGE ApiMessage, in BaseCheckVDM() argument 547 BASE_API_MESSAGE ApiMessage; in BaseUpdateVDMEntry() local 598 if (!NT_SUCCESS(ApiMessage.Status)) in BaseUpdateVDMEntry() 623 BASE_API_MESSAGE ApiMessage; in BaseCheckForVDM() local 1394 BASE_API_MESSAGE ApiMessage; in ExitVDM() local 1424 BASE_API_MESSAGE ApiMessage; in GetNextVDMCommand() local 1778 BASE_API_MESSAGE ApiMessage; in GetVDMCurrentDirectories() local 1805 if (NT_SUCCESS(ApiMessage.Status)) in GetVDMCurrentDirectories() 1815 return (NT_SUCCESS(ApiMessage.Status) || (ApiMessage.Status == STATUS_BUFFER_TOO_SMALL)) in GetVDMCurrentDirectories() 1838 CONSOLE_API_MESSAGE ApiMessage; in RegisterConsoleVDM() local [all …]
|
/reactos/subsystems/win/basesrv/ |
H A D | vdm.c | 613 if (!CsrValidateMessageBuffer(ApiMessage, in CSR_API() 617 || !CsrValidateMessageBuffer(ApiMessage, in CSR_API() 621 || !CsrValidateMessageBuffer(ApiMessage, in CSR_API() 625 || !CsrValidateMessageBuffer(ApiMessage, in CSR_API() 629 || !CsrValidateMessageBuffer(ApiMessage, in CSR_API() 633 || !CsrValidateMessageBuffer(ApiMessage, in CSR_API() 637 || !CsrValidateMessageBuffer(ApiMessage, in CSR_API() 944 if (!CsrValidateMessageBuffer(ApiMessage, in CSR_API() 948 || !CsrValidateMessageBuffer(ApiMessage, in CSR_API() 1343 if (!CsrValidateMessageBuffer(ApiMessage, in CSR_API() [all …]
|
H A D | proc.c | 57 PBASE_GET_TEMP_FILE GetTempFile = &((PBASE_API_MESSAGE)ApiMessage)->Data.GetTempFileRequest; in CSR_API() 70 …PBASE_CREATE_PROCESS CreateProcessRequest = &((PBASE_API_MESSAGE)ApiMessage)->Data.CreateProcessRe… in CSR_API() 216 …PBASE_CREATE_THREAD CreateThreadRequest = &((PBASE_API_MESSAGE)ApiMessage)->Data.CreateThreadReque… in CSR_API() 281 … (NTSTATUS)((PBASE_API_MESSAGE)ApiMessage)->Data.ExitProcessRequest.uExitCode); in CSR_API() 286 …OCESS_SHUTDOWN_PARAMS ShutdownParametersRequest = &((PBASE_API_MESSAGE)ApiMessage)->Data.ShutdownP… in CSR_API() 299 …OCESS_SHUTDOWN_PARAMS ShutdownParametersRequest = &((PBASE_API_MESSAGE)ApiMessage)->Data.ShutdownP… in CSR_API()
|
/reactos/win32ss/user/winsrv/usersrv/ |
H A D | register.c | 32 …PUSER_REGISTER_LOGON_PROCESS RegisterLogonProcessRequest = &((PUSER_API_MESSAGE)ApiMessage)->Data.… in CSR_API() 43 if (ApiMessage->Header.ClientId.UniqueProcess != UlongToHandle(LogonProcessId)) in CSR_API() 46 LogonProcessId, ApiMessage->Header.ClientId.UniqueProcess); in CSR_API() 83 …SERVICES_PROCESS RegisterServicesProcessRequest = &((PUSER_API_MESSAGE)ApiMessage)->Data.RegisterS… in CSR_API()
|
/reactos/win32ss/user/winsrv/consrv/ |
H A D | coninput.c | 240 IN PCSR_API_MESSAGE ApiMessage, in WaitBeforeReading() argument 257 ApiMessage, in WaitBeforeReading() 271 IN PCSR_API_MESSAGE ApiMessage, 344 IN PCSR_API_MESSAGE ApiMessage, in ReadChars() argument 415 ApiMessage, in ReadChars() 435 IN PCSR_API_MESSAGE ApiMessage, 507 IN PCSR_API_MESSAGE ApiMessage, in ReadInputBuffer() argument 550 ApiMessage, in ReadInputBuffer() 610 if (!CsrValidateMessageBuffer(ApiMessage, in CON_API() 680 if (!CsrValidateMessageBuffer(ApiMessage, in CON_API() [all …]
|
H A D | api.h | 21 IN OUT PCSR_API_MESSAGE ApiMessage, \ 33 TYPE* RequestName = &((PCONSOLE_API_MESSAGE)ApiMessage)->Data.RequestName; \ 36 return Name##Impl(ProcessData, ApiMessage, RequestName, ReplyCode); \ 50 IN OUT PCSR_API_MESSAGE ApiMessage, \ 63 TYPE* RequestName = &((PCONSOLE_API_MESSAGE)ApiMessage)->Data.RequestName; \ 74 ApiMessage, RequestName, ReplyCode); \
|
H A D | alias.c | 456 if ( !CsrValidateMessageBuffer(ApiMessage, in CON_API() 460 !CsrValidateMessageBuffer(ApiMessage, in CON_API() 464 !CsrValidateMessageBuffer(ApiMessage, in CON_API() 527 if ( !CsrValidateMessageBuffer(ApiMessage, in CON_API() 531 !CsrValidateMessageBuffer(ApiMessage, in CON_API() 535 !CsrValidateMessageBuffer(ApiMessage, in CON_API() 601 if ( !CsrValidateMessageBuffer(ApiMessage, in CON_API() 605 !CsrValidateMessageBuffer(ApiMessage, in CON_API() 703 if (!CsrValidateMessageBuffer(ApiMessage, in CON_API() 737 if (!CsrValidateMessageBuffer(ApiMessage, in CON_API()
|