ReactOS 0.4.16-dev-297-gc569aee
|
#include "csrlib.h"
#include <ndk/ldrfuncs.h>
#include <ndk/lpcfuncs.h>
#include <ndk/mmfuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/umfuncs.h>
#include <csrsrv.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NTOS_MODE_USER |
#define | NDEBUG |
Typedefs | |
typedef NTSTATUS(NTAPI * | PCSR_SERVER_API_ROUTINE) (_In_ PCSR_API_MESSAGE Request, _Inout_ PCSR_API_MESSAGE Reply) |
Functions | |
static NTSTATUS | CsrpConnectToServer (_In_ PCWSTR ObjectDirectory) |
NTSTATUS NTAPI | CsrClientConnectToServer (_In_ PCWSTR ObjectDirectory, _In_ ULONG ServerId, _In_ PVOID ConnectionInfo, _Inout_ PULONG ConnectionInfoSize, _Out_ PBOOLEAN ServerToServerCall) |
NTSTATUS NTAPI | CsrClientCallServer (_Inout_ PCSR_API_MESSAGE ApiMessage, _Inout_opt_ PCSR_CAPTURE_BUFFER CaptureBuffer, _In_ CSR_API_NUMBER ApiNumber, _In_ ULONG DataLength) |
HANDLE NTAPI | CsrGetProcessId (VOID) |
Variables | |
HANDLE | CsrApiPort |
HANDLE | CsrProcessId |
HANDLE | CsrPortHeap |
ULONG_PTR | CsrPortMemoryDelta |
BOOLEAN | InsideCsrProcess = FALSE |
PCSR_SERVER_API_ROUTINE | CsrServerApiRoutine |
typedef NTSTATUS(NTAPI * PCSR_SERVER_API_ROUTINE) (_In_ PCSR_API_MESSAGE Request, _Inout_ PCSR_API_MESSAGE Reply) |
NTSTATUS NTAPI CsrClientCallServer | ( | _Inout_ PCSR_API_MESSAGE | ApiMessage, |
_Inout_opt_ PCSR_CAPTURE_BUFFER | CaptureBuffer, | ||
_In_ CSR_API_NUMBER | ApiNumber, | ||
_In_ ULONG | DataLength | ||
) |
Definition at line 366 of file connect.c.
Referenced by BaseCheckForVDM(), BaseCheckVDM(), BasepNotifyCsrOfThread(), BaseUpdateVDMEntry(), CloseConsoleHandle(), ConsoleMenuControl(), CreateConsoleScreenBuffer(), CreateProcessInternalW(), CsrClientConnectToServer(), CsrIdentifyAlertableThread(), CsrSetPriorityClass(), DefineDosDeviceW(), DeviceEventWorker(), DuplicateConsoleHandle(), EndTask(), ExitProcess(), ExitVDM(), ExitWindowsWorker(), FlushConsoleInputBuffer(), FreeConsole(), GenerateConsoleCtrlEvent(), GetConsoleCP(), GetConsoleCursorInfo(), GetConsoleDisplayMode(), GetConsoleFontInfo(), GetConsoleFontSize(), GetConsoleHandleInformation(), GetConsoleHardwareState(), GetConsoleHistoryInfo(), GetConsoleMode(), GetConsoleOutputCP(), GetConsoleProcessList(), GetConsoleScreenBufferInfo(), GetConsoleSelectionInfo(), GetConsoleWindow(), GetCurrentConsoleFont(), GetLargestConsoleWindowSize(), GetNextVDMCommand(), GetNumberOfConsoleFonts(), GetNumberOfConsoleInputEvents(), GetNumberOfConsoleMouseButtons(), GetProcessShutdownParameters(), GetTempFileNameW(), GetThreadDesktop(), GetVDMCurrentDirectories(), IntAddConsoleAlias(), IntAllocConsole(), IntAttachConsole(), IntExpungeConsoleCommandHistory(), IntFillConsoleOutputCode(), IntGetConsoleAlias(), IntGetConsoleAliases(), IntGetConsoleAliasesLength(), IntGetConsoleAliasExes(), IntGetConsoleAliasExesLength(), IntGetConsoleCommandHistory(), IntGetConsoleCommandHistoryLength(), IntGetConsoleInput(), IntGetConsoleKeyboardLayoutName(), IntGetConsoleTitle(), IntReadConsole(), IntReadConsoleOutput(), IntReadConsoleOutputCode(), IntRegisterConsoleIME(), IntScrollConsoleScreenBuffer(), IntSetConsoleNumberOfCommands(), IntSetConsoleTitle(), IntUnregisterConsoleIME(), IntWriteConsole(), IntWriteConsoleInput(), IntWriteConsoleOutput(), IntWriteConsoleOutputCode(), InvalidateConsoleDIBits(), Logon(), NotifySoundSentry(), OpenConsoleW(), RegisterConsoleVDM(), RegisterLogonProcess(), RegisterServicesProcess(), SetConsoleActiveScreenBuffer(), SetConsoleCommandHistoryMode(), SetConsoleCP(), SetConsoleCursor(), SetConsoleCursorInfo(), SetConsoleCursorPosition(), SetConsoleDisplayMode(), SetConsoleFont(), SetConsoleHandleInformation(), SetConsoleHardwareState(), SetConsoleHistoryInfo(), SetConsoleIcon(), SetConsoleMenuClose(), SetConsoleMode(), SetConsoleOutputCP(), SetConsolePalette(), SetConsoleScreenBufferSize(), SetConsoleTextAttribute(), SetConsoleWindowInfo(), SetLastConsoleEventActive(), SetProcessShutdownParameters(), SetTEBLangID(), SetVDMCurrentDirectories(), ShowConsoleCursor(), and VerifyConsoleIoHandle().
NTSTATUS NTAPI CsrClientConnectToServer | ( | _In_ PCWSTR | ObjectDirectory, |
_In_ ULONG | ServerId, | ||
_In_ PVOID | ConnectionInfo, | ||
_Inout_ PULONG | ConnectionInfoSize, | ||
_Out_ PBOOLEAN | ServerToServerCall | ||
) |
Definition at line 196 of file connect.c.
Referenced by ConnectConsole(), and DllMain().
Definition at line 507 of file connect.c.
Referenced by ProcessIdToHandle().
Definition at line 43 of file connect.c.
Referenced by CsrClientConnectToServer().
HANDLE CsrApiPort |
Definition at line 27 of file connect.c.
Referenced by CsrApiPortInitialize(), CsrApiRequestThread(), CsrClientCallServer(), CsrClientConnectToServer(), CsrCreateProcess(), CsrNewThread(), CsrpConnectToServer(), CsrQueryApiPort(), and CsrSbCreateSession().
HANDLE CsrPortHeap |
Definition at line 29 of file connect.c.
Referenced by CsrAllocateCaptureBuffer(), CsrClientConnectToServer(), CsrFreeCaptureBuffer(), and CsrpConnectToServer().
ULONG_PTR CsrPortMemoryDelta |
Definition at line 30 of file connect.c.
Referenced by CsrClientCallServer(), and CsrpConnectToServer().
HANDLE CsrProcessId |
Definition at line 28 of file connect.c.
Referenced by CsrGetProcessId(), and CsrpConnectToServer().
PCSR_SERVER_API_ROUTINE CsrServerApiRoutine |
Definition at line 38 of file connect.c.
Referenced by CsrClientCallServer(), and CsrClientConnectToServer().
Definition at line 31 of file connect.c.
Referenced by CsrClientCallServer(), and CsrClientConnectToServer().