1308{
1310
1311 DPRINT(
"ConSrvConsoleCtrlEventTimeout Parent ProcessId = %x\n", ProcessData->Process->ClientId.UniqueProcess);
1312
1313
1314
1315
1316 if (ProcessData->CtrlRoutine ==
NULL)
return Status;
1317
1319 {
1321
1323 {
1325 ProcessData->CtrlRoutine,
1328 {
1330 DPRINT1(
"Failed thread creation, Status = 0x%08lx\n",
Status);
1331 }
1332 else
1333 {
1334 DPRINT(
"ProcessData->CtrlRoutine remote thread creation succeeded, ProcessId = %x, Process = 0x%p\n",
1335 ProcessData->Process->ClientId.UniqueProcess, ProcessData->Process);
1337 }
1338 }
1340 {
1342 }
1344 }
1346 {
1348 DPRINT1(
"ConSrvConsoleCtrlEventTimeout - Caught an exception, Status = 0x%08lx\n",
Status);
1349 }
1351
1353}
HANDLE WINAPI CreateRemoteThread(IN HANDLE hProcess, IN LPSECURITY_ATTRIBUTES lpThreadAttributes, IN DWORD dwStackSize, IN LPTHREAD_START_ROUTINE lpStartAddress, IN LPVOID lpParameter, IN DWORD dwCreationFlags, OUT LPDWORD lpThreadId)
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
#define EXCEPTION_EXECUTE_HANDLER
NTSYSAPI NTSTATUS WINAPI RtlGetLastNtStatus(void)
#define _SEH2_GetExceptionCode()
#define _SEH2_EXCEPT(...)
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)