#include <ndk/exfuncs.h>
#include <ndk/psfuncs.h>
#include <ndk/rtlfuncs.h>
#include <csr/csrsrv.h>
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ NTOS_MODE_USER
◆ _main()
Definition at line 39 of file csrss.c.
43{
46#if defined (_X86_)
48#endif
51
52
55 &BasePriority,
56 sizeof(BasePriority));
57
58#if defined (_X86_)
59
63 0);
65 {
66
67 DPRINT1(
"CSRSS: Could not raise IOPL, Status: 0x%08lx\n",
Status);
69 0,
70 0,
74 }
75#endif
76
77
80 {
81
82 DPRINT1(
"CSRSS: Unable to initialize server, Status: 0x%08lx\n",
Status);
84 }
85
86
88
89
91
92
94 return 0;
95}
NTSTATUS NTAPI CsrServerInitialization(IN ULONG ArgumentCount, IN PCHAR Arguments[])
#define NT_SUCCESS(StatCode)
NTSTATUS NTAPI NtRaiseHardError(IN NTSTATUS ErrorStatus, IN ULONG NumberOfParameters, IN ULONG UnicodeStringParameterMask, IN PULONG_PTR Parameters, IN ULONG ValidResponseOptions, OUT PULONG Response)
#define PROCESS_PRIORITY_NORMAL_FOREGROUND
NTSYSAPI NTSTATUS __cdecl RtlSetProcessIsCritical(_In_ BOOLEAN NewValue, _Out_opt_ PBOOLEAN OldValue, _In_ BOOLEAN NeedBreaks)
NTSTATUS NtTerminateThread(IN HANDLE ThreadHandle OPTIONAL, IN NTSTATUS ExitStatus)
NTSTATUS NTAPI NtTerminateProcess(HANDLE ProcessHandle, LONG ExitStatus)
#define NtCurrentProcess()
#define UNREFERENCED_PARAMETER(P)
NTSTATUS NTAPI NtSetInformationProcess(IN HANDLE ProcessHandle, IN PROCESSINFOCLASS ProcessInformationClass, IN PVOID ProcessInformation, IN ULONG ProcessInformationLength)
#define STATUS_IO_PRIVILEGE_FAILED
#define NtCurrentThread()
◆ CsrpSetDefaultProcessHardErrorMode()
Definition at line 26 of file csrss.c.
27{
28 ULONG DefaultHardErrorMode = 0;
29
30
33 &DefaultHardErrorMode,
34 sizeof(DefaultHardErrorMode));
35}
@ ProcessDefaultHardErrorMode
Referenced by _main().