Go to the source code of this file.
◆ PEXIT_REACTOS_DATA
◆ EndTask()
Definition at line 207 of file exit.c.
210{
213
215
216
218 EndTaskRequest->
Force = fForce;
219
223 sizeof(*EndTaskRequest));
225 {
228 }
229
232
233 return EndTaskRequest->
Success;
234}
#define CSR_CREATE_API_NUMBER(ServerId, ApiId)
#define NT_SUCCESS(StatCode)
#define UNREFERENCED_PARAMETER(P)
NTSTATUS NTAPI CsrClientCallServer(_Inout_ PCSR_API_MESSAGE ApiMessage, _Inout_opt_ PCSR_CAPTURE_BUFFER CaptureBuffer, _In_ CSR_API_NUMBER ApiNumber, _In_ ULONG DataLength)
USER_END_TASK EndTaskRequest
union _USER_API_MESSAGE::@3541 Data
VOID WINAPI UserSetLastError(IN DWORD dwErrCode)
VOID WINAPI UserSetLastNTError(IN NTSTATUS Status)
#define USERSRV_SERVERDLL_INDEX
Referenced by ApplicationPage_OnEndTask().
◆ ExitWindowsEx()
Definition at line 186 of file exit.c.
188{
189
190
191
192
193
194
195
196
198
199
200}
static BOOL ExitWindowsWorker(UINT uFlags, DWORD dwReserved, BOOL bCalledFromThread)
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
◆ ExitWindowsThread()
Definition at line 71 of file exit.c.
72{
75
76
79 else
81
84}
VOID WINAPI ExitThread(IN DWORD uExitCode)
struct EXIT_REACTOS_DATA * PEXIT_REACTOS_DATA
DWORD WINAPI GetLastError(void)
Referenced by ExitWindowsWorker().
◆ ExitWindowsWorker()
static BOOL ExitWindowsWorker |
( |
UINT |
uFlags, |
|
|
DWORD |
dwReserved, |
|
|
BOOL |
bCalledFromThread |
|
) |
| |
|
static |
Definition at line 87 of file exit.c.
90{
95
98
99
100
101
102
103
104
105
106
107
108
109
111
115 sizeof(*ExitReactOSRequest));
116
117
119 {
122 }
123 else
124 {
127 }
128
129
130
131
132
133
135 return ExitReactOSRequest->
Success;
136
137
138
139
140
141
142
143
144
145
146
148 {
151 }
152
153
154
155
156
160 if (hExitThread ==
NULL)
162
163
165 {
168 }
169
170
173
175
178
180}
HANDLE WINAPI DECLSPEC_HOTPATCH CreateThread(IN LPSECURITY_ATTRIBUTES lpThreadAttributes, IN DWORD dwStackSize, IN LPTHREAD_START_ROUTINE lpStartAddress, IN LPVOID lpParameter, IN DWORD dwCreationFlags, OUT LPDWORD lpThreadId)
BOOL WINAPI GetExitCodeThread(IN HANDLE hThread, OUT LPDWORD lpExitCode)
static DWORD WINAPI ExitWindowsThread(LPVOID Param)
USER_EXIT_REACTOS ExitReactOSRequest
TW_UINT32 TW_UINT16 TW_UINT16 MSG
DWORD WINAPI MsgWaitForMultipleObjectsEx(_In_ DWORD nCount, _In_reads_opt_(nCount) CONST HANDLE *pHandles, _In_ DWORD dwMilliseconds, _In_ DWORD dwWakeMask, _In_ DWORD dwFlags)
BOOL WINAPI PeekMessageW(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT, _In_ UINT)
LRESULT WINAPI DispatchMessageW(_In_ const MSG *)
Referenced by ExitWindowsEx(), and ExitWindowsThread().