ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
#define CsrAcquireNtSessionLock | ( | ) | RtlEnterCriticalSection(&CsrNtSessionLock); |
#define CsrAcquireProcessLock | ( | ) | RtlEnterCriticalSection(&CsrProcessLock); |
#define CsrAcquireWaitLock | ( | ) | RtlEnterCriticalSection(&CsrWaitListsLock); |
#define CsrReleaseNtSessionLock | ( | ) | RtlLeaveCriticalSection(&CsrNtSessionLock); |
#define CsrReleaseProcessLock | ( | ) | RtlLeaveCriticalSection(&CsrProcessLock); |
#define CsrReleaseWaitLock | ( | ) | RtlLeaveCriticalSection(&CsrWaitListsLock); |
#define ProcessStructureListLocked | ( | ) | (CsrProcessLock.OwningThread == NtCurrentTeb()->ClientId.UniqueThread) |
CSR_API | ( | CsrSrvClientConnect | ) |
Definition at line 293 of file server.c.
CSR_API | ( | CsrSrvUnusedFunction | ) |
Definition at line 593 of file server.c.
PCSR_PROCESS NTAPI CsrAllocateProcess | ( | VOID | ) |
Definition at line 189 of file procsup.c.
Referenced by CsrCreateProcess(), CsrInitializeProcessStructure(), and CsrSbCreateSession().
PCSR_THREAD NTAPI CsrAllocateThread | ( | IN PCSR_PROCESS | CsrProcess | ) |
Definition at line 119 of file thredsup.c.
Referenced by CsrAddStaticServerThread(), CsrCreateProcess(), CsrCreateRemoteThread(), CsrCreateThread(), CsrExecServerThread(), and CsrSbCreateSession().
NTSTATUS NTAPI CsrApiHandleConnectionRequest | ( | IN PCSR_API_MESSAGE | ApiMessage | ) |
Definition at line 144 of file api.c.
Referenced by CsrApiRequestThread().
Definition at line 900 of file api.c.
Referenced by CsrServerInitialization().
Definition at line 336 of file api.c.
Referenced by CsrApiPortInitialize(), and CsrpCheckRequestThreads().
BOOLEAN NTAPI CsrCaptureArguments | ( | IN PCSR_THREAD | CsrThread, |
IN PCSR_API_MESSAGE | ApiMessage | ||
) |
Definition at line 1123 of file api.c.
Referenced by CsrApiRequestThread().
NTSTATUS NTAPI CsrCreateLocalSystemSD | ( | OUT PSECURITY_DESCRIPTOR * | LocalSystemSd | ) |
this API is used with CsrPopulateDosDevices, deprecated in r55585. NTSTATUS NTAPI CsrPopulateDosDevicesDirectory(IN HANDLE DosDevicesDirectory, IN PPROCESS_DEVICEMAP_INFORMATION DeviceMap);
Definition at line 847 of file init.c.
Referenced by CsrSbApiPortInitialize().
Definition at line 424 of file init.c.
Referenced by CsrParseServerCommandLine().
VOID NTAPI CsrDeallocateProcess | ( | IN PCSR_PROCESS | CsrProcess | ) |
Definition at line 297 of file procsup.c.
Referenced by CsrCreateProcess(), CsrProcessRefcountZero(), and CsrSbCreateSession().
VOID NTAPI CsrDeallocateThread | ( | IN PCSR_THREAD | CsrThread | ) |
Definition at line 345 of file thredsup.c.
Referenced by CsrCreateProcess(), CsrCreateRemoteThread(), CsrCreateThread(), CsrExecServerThread(), CsrSbCreateSession(), and CsrThreadRefcountZero().
Definition at line 156 of file session.c.
Referenced by CsrProcessRefcountZero().
Definition at line 53 of file session.c.
Referenced by CsrServerInitialization().
Definition at line 255 of file procsup.c.
Referenced by CsrServerInitialization().
VOID NTAPI CsrInsertProcess | ( | IN PCSR_PROCESS ParentProcess | OPTIONAL, |
IN PCSR_PROCESS | CsrProcess | ||
) |
Definition at line 366 of file procsup.c.
Referenced by CsrCreateProcess(), and CsrSbCreateSession().
NTSTATUS NTAPI CsrInsertThread | ( | IN PCSR_PROCESS | Process, |
IN PCSR_THREAD | Thread | ||
) |
Definition at line 297 of file thredsup.c.
Referenced by CsrCreateProcess(), CsrCreateRemoteThread(), CsrCreateThread(), and CsrSbCreateSession().
NTSTATUS NTAPI CsrLoadServerDll | ( | IN PCHAR | DllString, |
IN PCHAR EntryPoint | OPTIONAL, | ||
IN ULONG | ServerId | ||
) |
Definition at line 126 of file server.c.
Referenced by CsrParseServerCommandLine().
PCSR_THREAD NTAPI CsrLocateThreadByClientId | ( | OUT PCSR_PROCESS *Process | OPTIONAL, |
IN PCLIENT_ID | ClientId | ||
) |
Definition at line 182 of file thredsup.c.
Referenced by CsrApiHandleConnectionRequest(), CsrApiRequestThread(), CsrCreateProcess(), CsrCreateThread(), CsrDestroyProcess(), and CsrDestroyThread().
PCSR_THREAD NTAPI CsrLocateThreadInProcess | ( | IN PCSR_PROCESS CsrProcess | OPTIONAL, |
IN PCLIENT_ID | Cid | ||
) |
Definition at line 248 of file thredsup.c.
Referenced by CsrConnectToUser().
VOID NTAPI CsrLockedDereferenceProcess | ( | PCSR_PROCESS | CsrProcess | ) |
Definition at line 159 of file procsup.c.
Referenced by CsrApiHandleConnectionRequest(), CsrRemoveThread(), CsrShutdownProcesses(), and CsrUnlockProcess().
VOID NTAPI CsrLockedDereferenceThread | ( | IN PCSR_THREAD | CsrThread | ) |
Definition at line 467 of file thredsup.c.
Referenced by CsrApiRequestThread(), CsrDestroyProcess(), CsrDestroyThread(), and CsrUnlockThread().
VOID NTAPI CsrLockedReferenceProcess | ( | IN PCSR_PROCESS | CsrProcess | ) |
Definition at line 233 of file procsup.c.
Referenced by CsrAllocateProcess(), CsrAllocateThread(), CsrApiHandleConnectionRequest(), CsrLockProcessByClientId(), and CsrShutdownProcesses().
VOID NTAPI CsrLockedReferenceThread | ( | IN PCSR_THREAD | CsrThread | ) |
Definition at line 154 of file thredsup.c.
Referenced by CsrAllocateThread(), CsrApiRequestThread(), and CsrLockThreadByClientId().
BOOLEAN NTAPI CsrNotifyWaitBlock | ( | IN PCSR_WAIT_BLOCK | WaitBlock, |
IN PLIST_ENTRY | WaitList, | ||
IN PVOID | WaitArgument1, | ||
IN PVOID | WaitArgument2, | ||
IN ULONG | WaitFlags, | ||
IN BOOLEAN | DereferenceThread | ||
) |
Definition at line 120 of file wait.c.
Referenced by CsrDestroyProcess(), CsrDestroyThread(), and CsrNotifyWait().
VOID NTAPI CsrReferenceNtSession | ( | IN PCSR_NT_SESSION | Session | ) |
Definition at line 118 of file session.c.
Referenced by CsrCreateProcess().
VOID NTAPI CsrReleaseCapturedArguments | ( | IN PCSR_API_MESSAGE | ApiMessage | ) |
Definition at line 1337 of file api.c.
Referenced by CsrApiRequestThread(), and CsrNotifyWaitBlock().
VOID NTAPI CsrRemoveProcess | ( | IN PCSR_PROCESS | CsrProcess | ) |
Definition at line 320 of file procsup.c.
Referenced by CsrProcessRefcountZero().
NTSTATUS NTAPI CsrSbApiHandleConnectionRequest | ( | IN PSB_API_MSG | Message | ) |
Definition at line 434 of file session.c.
Referenced by CsrSbApiRequestThread().
Definition at line 915 of file init.c.
Referenced by CsrServerInitialization().
Definition at line 484 of file session.c.
Referenced by CsrSbApiPortInitialize().
BOOLEAN NTAPI CsrSbCreateProcess | ( | IN PSB_API_MSG | ApiMessage | ) |
BOOLEAN NTAPI CsrSbCreateSession | ( | IN PSB_API_MSG | ApiMessage | ) |
Definition at line 208 of file session.c.
BOOLEAN NTAPI CsrSbForeignSessionComplete | ( | IN PSB_API_MSG | ApiMessage | ) |
Definition at line 365 of file session.c.
BOOLEAN NTAPI CsrSbTerminateSession | ( | IN PSB_API_MSG | ApiMessage | ) |
NTSTATUS NTAPI CsrServerDllInitialization | ( | IN PCSR_SERVER_DLL | LoadedServerDll | ) |
Referenced by CsrLoadServerDll().
Definition at line 186 of file init.c.
Referenced by CsrParseServerCommandLine().
NTSTATUS NTAPI CsrSrvAttachSharedSection | ( | IN PCSR_PROCESS CsrProcess | OPTIONAL, |
OUT PCSR_API_CONNECTINFO | ConnectInfo | ||
) |
Definition at line 482 of file server.c.
Referenced by CsrApiHandleConnectionRequest().
Definition at line 361 of file server.c.
Referenced by CsrParseServerCommandLine().
Definition at line 39 of file thredsup.c.
Referenced by CsrAddStaticServerThread(), CsrCreateProcess(), CsrCreateRemoteThread(), CsrCreateThread(), CsrExecServerThread(), and CsrSbCreateSession().
Definition at line 78 of file thredsup.c.
Referenced by CsrThreadRefcountZero().
|
extern |
Definition at line 22 of file api.c.
Referenced by CsrApiPortInitialize().
|
extern |
Definition at line 23 of file init.c.
Referenced by CsrApiHandleConnectionRequest(), CsrApiPortInitialize(), CsrApiRequestThread(), CsrCallServerFromServer(), CsrParseServerCommandLine(), and CsrSbApiPortInitialize().
|
extern |
Definition at line 27 of file init.c.
Referenced by CsrApiPortInitialize(), CsrParseServerCommandLine(), and CsrSbApiPortInitialize().
|
extern |
Definition at line 25 of file init.c.
Referenced by CsrAllocateNtSession(), CsrAllocateProcess(), CsrAllocateThread(), CsrApiPortInitialize(), CsrCaptureArguments(), CsrCreateLocalSystemSD(), CsrCreateWait(), CsrDeallocateProcess(), CsrDeallocateThread(), CsrDereferenceNtSession(), CsrDereferenceWait(), CsrGetProcessLuid(), CsrInitCsrRootProcess(), CsrInitializeWait(), CsrLoadServerDll(), CsrNotifyWaitBlock(), CsrReleaseCapturedArguments(), CsrSbApiPortInitialize(), CsrServerInitialization(), CsrSetProcessSecurity(), FreeDosDevicesProtection(), and GetDosDevicesProtection().
|
extern |
|
extern |
Definition at line 20 of file server.c.
Referenced by CSR_API(), CsrApiRequestThread(), CsrCallServerFromServer(), CsrCreateProcess(), CsrInitCsrRootProcess(), CsrInsertProcess(), CsrLoadServerDll(), CsrRemoveProcess(), CsrSbCreateSession(), and CsrShutdownProcesses().
|
extern |
Definition at line 38 of file init.c.
Referenced by CsrParseServerCommandLine().
|
extern |
Definition at line 44 of file init.c.
Referenced by CsrServerInitialization(), and CsrSrvCreateSharedSection().
|
extern |
Definition at line 26 of file init.c.
Referenced by CsrParseServerCommandLine().
|
extern |
Definition at line 60 of file api.h.
Referenced by CsrInitializeProcessStructure().
|
extern |
Definition at line 22 of file procsup.c.
Referenced by CsrAddStaticServerThread(), CsrApiPortInitialize(), CsrExecServerThread(), CsrInitCsrRootProcess(), CsrInitializeProcessStructure(), CsrInsertProcess(), CsrLocateThreadInProcess(), CsrLockProcessByClientId(), CsrShutdownProcesses(), and FindProcessForShutdown().
|
extern |
Definition at line 29 of file init.c.
Referenced by CsrSbApiPortInitialize(), CsrSbApiRequestThread(), and CsrServerInitialization().
|
extern |
Definition at line 28 of file init.c.
Referenced by CsrSbApiPortInitialize(), and CsrServerInitialization().
|
extern |
Definition at line 31 of file init.c.
Referenced by CsrDereferenceNtSession(), and CsrServerInitialization().
|
extern |
Definition at line 21 of file server.c.
Referenced by CsrLoadServerDll(), CsrSrvAttachSharedSection(), and CsrSrvCreateSharedSection().
|
extern |
Definition at line 23 of file server.c.
Referenced by CsrLoadServerDll(), CsrSrvAttachSharedSection(), and CsrSrvCreateSharedSection().
|
extern |
Definition at line 21 of file thredsup.c.
Referenced by CsrInitializeProcessStructure(), CsrInsertThread(), CsrLocateThreadByClientId(), and CsrLockThreadByClientId().
|
extern |
Definition at line 39 of file init.c.
Referenced by CsrLoadServerDll().
RTL_CRITICAL_SECTION CsrWaitListsLock |
Definition at line 10 of file api.h.
Referenced by CsrInitializeProcessStructure().
|
extern |