#include "csr.h"
#include "ntcsrdll.h"
#include "ntcsrsrv.h"
Go to the source code of this file.
Defines | |
#define | IF_CSR_DEBUG(ComponentFlag) if (FALSE) |
#define | CSR_HEAP_MEMORY_SIZE (64*1024) |
#define | CSR_PORT_MEMORY_SIZE 0x10000 |
#define | ROUND_UP_TO_PAGES(SIZE) (((ULONG)(SIZE) + CsrNtSysInfo.PageSize - 1) & ~(CsrNtSysInfo.PageSize - 1)) |
#define | ROUND_DOWN_TO_PAGES(SIZE) (((ULONG)(SIZE)) & ~(CsrNtSysInfo.PageSize - 1)) |
#define | MAKE_CSRPORT_TAG(t) (RTL_HEAP_MAKE_TAG( CsrPortBaseTag, t )) |
#define | CAPTURE_TAG 0 |
#define | CSR_MAX_CLIENT_DLL 16 |
Functions | |
BOOLEAN | CsrDllInitialize (IN PVOID DllHandle, IN ULONG Reason, IN PCONTEXT Context OPTIONAL) |
NTSTATUS | CsrpConnectToServer (IN PWSTR ObjectDirectory) |
Variables | |
BOOLEAN | CsrInitOnceDone |
BOOLEAN | CsrServerProcess |
NTSTATUS(* | CsrServerApiRoutine )(PCSR_API_MSG, PCSR_API_MSG) |
SYSTEM_BASIC_INFORMATION | CsrNtSysInfo |
ULONG | CsrDebugFlag |
PVOID | CsrHeap |
UNICODE_STRING | CsrPortName |
HANDLE | CsrPortHandle |
PVOID | CsrPortHeap |
ULONG_PTR | CsrPortMemoryRemoteDelta |
ULONG | CsrPortBaseTag |
HANDLE | CsrDllHandle |
HANDLE | CsrObjectDirectory |
PCSR_CALLBACK_INFO | CsrLoadedClientDll [CSR_MAX_CLIENT_DLL] |
|
Definition at line 167 of file csrdll.h. Referenced by CsrAllocateCaptureBuffer(). |
|
|
|
|
|
Definition at line 95 of file csrdll.h. Referenced by CsrpConnectToServer(). |
|
Definition at line 73 of file csrdll.h. Referenced by CsrpConnectToServer(). |
|
Definition at line 165 of file csrdll.h. Referenced by CsrAllocateCaptureBuffer(). |
|
|
|
Definition at line 124 of file csrdll.h. Referenced by InitCreateSharedSection(). |
|
Definition at line 30 of file csrinit.c. References CsrDllHandle, and TRUE.
|
|
Definition at line 359 of file csrinit.c. References CSR_PORT_MEMORY_SIZE, CSR_TAG, CsrHeap, CsrNtSysInfo, CsrObjectDirectory, CsrPortBaseTag, CsrPortHandle, CsrPortHeap, CsrPortMemoryRemoteDelta, CsrPortName, DbgPrint, DynamicQos, IF_CSR_DEBUG, IF_DEBUG, L, MAKE_TAG, n, NT_SUCCESS, NtClose(), NtCreateSection(), NtSecureConnectPort(), NTSTATUS(), NULL, RtlAllocateAndInitializeSid(), RtlAllocateHeap, RtlAppendUnicodeToString(), RtlCreateHeap(), RtlCreateTagHeap(), RtlFreeSid(), Status, TRUE, USHORT, and xProtectHandle(). Referenced by CsrClientConnectToServer().
|
|
|
|
Definition at line 174 of file csrdll.h. Referenced by CsrDllInitialize(). |
|
Definition at line 140 of file csrdll.h. Referenced by CsrClientConnectToServer(), CsrOneTimeInitialize(), and CsrpConnectToServer(). |
|
Definition at line 101 of file csrdll.h. Referenced by CsrClientConnectToServer(), and CsrOneTimeInitialize(). |
|
Definition at line 193 of file csrdll.h. Referenced by CsrClientConnectToServer(). |
|
Definition at line 122 of file csrdll.h. Referenced by CsrOneTimeInitialize(), CsrpConnectToServer(), and CsrProbeForWrite(). |
|
Definition at line 182 of file csrdll.h. Referenced by CsrpConnectToServer(). |
|
Definition at line 163 of file csrdll.h. Referenced by CsrClientConnectToServer(), and CsrpConnectToServer(). |
|
Definition at line 150 of file csrdll.h. Referenced by CsrClientCallServer(), CsrClientConnectToServer(), CsrNewThread(), CsrpConnectToServer(), and xxxSetInformationThread(). |
|
Definition at line 160 of file csrdll.h. Referenced by CsrAllocateCaptureBuffer(), CsrClientConnectToServer(), CsrFreeCaptureBuffer(), and CsrpConnectToServer(). |
|
Definition at line 161 of file csrdll.h. Referenced by CsrClientCallServer(), and CsrpConnectToServer(). |
|
Definition at line 149 of file csrdll.h. Referenced by CsrpConnectToServer(). |
|
Definition at line 114 of file csrdll.h. Referenced by CsrClientCallServer(), and CsrClientConnectToServer(). |
|
Definition at line 107 of file csrdll.h. Referenced by CsrClientCallServer(), and CsrClientConnectToServer(). |