#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Classes | |
struct | _TLPC_PORTMSG |
struct | _PAGE |
Defines | |
#define | PORT_NAME L"\\RPC Control\\LpcTestPort" |
#define | TLPC_MAX_MSG_DATA_LENGTH 16 |
Typedefs | |
typedef _TLPC_PORTMSG | TLPC_PORTMSG |
typedef _TLPC_PORTMSG * | PTLPC_PORTMSG |
typedef _PAGE | PAGE |
typedef _PAGE * | PPAGE |
Functions | |
PPORT_MESSAGE | InitTlpcMsg (PTLPC_PORTMSG Msg, PVOID Context, ULONG MsgLength) |
BOOLEAN | CheckTlpcMsg (NTSTATUS Status, PTLPC_PORTMSG Msg) |
BOOLEAN | ShowHandleOrStatus (NTSTATUS Status, HANDLE Handle) |
BOOLEAN | ShowStatus (NTSTATUS Status) |
NTSTATUS | SendRequest (ULONG Level, PSZ ThreadName, HANDLE PortHandle, PVOID Context, ULONG MsgLength, PTLPC_PORTMSG CallBackTarget, BOOLEAN ServerCallingClient) |
VOID | EnterThread (PSZ ThreadName, ULONG Context) |
Variables | |
UNICODE_STRING | PortName |
char * | LpcMsgTypes [] |
SECURITY_QUALITY_OF_SERVICE | DynamicQos |
PCH | ClientMemoryBase = 0 |
ULONG | ClientMemorySize = 0 |
PCH | ServerMemoryBase = 0 |
ULONG | ServerMemoryDelta = 0 |
PCH | EnterString = ">>>>>>>>>>" |
PCH | InnerString = "||||||||||" |
PCH | LeaveString = "<<<<<<<<<<" |
|
Definition at line 30 of file ulpc.h. Referenced by main(). |
|
Definition at line 55 of file ulpc.h. Referenced by ClientThread(), and InitTlpcMsg(). |
|
|
|
|
|
|
|
Referenced by main(). |
|
Definition at line 101 of file ulpc.h. References ClientMemoryBase, _TLPC_PORTMSG::Data, EXCEPTION_EXECUTE_HANDLER, FALSE, _TLPC_PORTMSG::h, NT_SUCCESS, ServerMemoryDelta, Status, and TRUE. Referenced by SendRequest(), and ServerThread().
|
|
Definition at line 318 of file ulpc.h. Referenced by ClientThread(), and ServerThread().
|
|
Definition at line 72 of file ulpc.h. References ClientMemoryBase, _TLPC_PORTMSG::Data, _TLPC_PORTMSG::h, ServerMemoryDelta, and TLPC_MAX_MSG_DATA_LENGTH. Referenced by SendRequest().
|
|
Definition at line 208 of file ulpc.h. References CheckTlpcMsg(), EnterString, _TLPC_PORTMSG::h, InitTlpcMsg(), InnerString, LeaveString, NtReplyWaitReplyPort(), NtRequestWaitReplyPort(), NTSTATUS(), NULL, PortHandle, Request(), and Status. Referenced by ClientThread(), and ServerThread().
|
|
Definition at line 172 of file ulpc.h. References FALSE, Handle, NT_SUCCESS, Status, and TRUE. Referenced by main(), and ServerHandleConnectionRequest().
|
|
Definition at line 189 of file ulpc.h. References FALSE, NT_SUCCESS, Status, and TRUE.
|
|
Definition at line 62 of file ulpc.h. Referenced by CheckTlpcMsg(), InitTlpcMsg(), main(), and ServerHandleConnectionRequest(). |
|
Definition at line 63 of file ulpc.h. Referenced by main(), and ServerHandleConnectionRequest(). |
|
Initial value:
Definition at line 49 of file ulpc.h. Referenced by ConnectToTerminalServer(), CsrpConnectToServer(), DbgSspConnectToDbg(), DbgUiConnectToDbg(), main(), SepRmCommandServerThreadInit(), and TerminalServerRequestThread(). |
|
Definition at line 203 of file ulpc.h. Referenced by SendRequest(). |
|
Definition at line 204 of file ulpc.h. Referenced by SendRequest(). |
|
Definition at line 205 of file ulpc.h. Referenced by SendRequest(). |
|
Initial value:
Definition at line 34 of file ulpc.h. Referenced by ServerThread(). |
|
Definition at line 32 of file ulpc.h. Referenced by ComPortDBAdd(), ConnectToTerminalServer(), CtLnpQos(), CtLpcQos(), DbgSspConnectToDbg(), DbgUiConnectToDbg(), main(), NtConnectPort(), NtSecureConnectPort(), RtlCreateLpcServer(), and TerminalServerRequestThread(). |
|
Definition at line 64 of file ulpc.h. Referenced by main(), and ServerHandleConnectionRequest(). |
|
Definition at line 65 of file ulpc.h. Referenced by CheckTlpcMsg(), InitTlpcMsg(), main(), and ServerHandleConnectionRequest(). |