#include <ntos.h>
#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include "lpcsvr.h"
Go to the source code of this file.
Defines | |
#define | RtlpLpcLockServer(s) RtlEnterCriticalSection( &s->Lock ); |
#define | RtlpLpcUnlockServer(s) RtlLeaveCriticalSection( &s->Lock ); |
#define | RtlpLpcContextFromClient(p) ( CONTAINING_RECORD( p, LPCSVR_CONTEXT, PrivateContext ) ) |
Functions | |
VOID | RtlpLpcDerefContext (PLPCSVR_CONTEXT Context, PLPCSVR_MESSAGE Message) |
VOID | RtlpLpcWorkerThread (PVOID Parameter) |
VOID | RtlpLpcServerCallback (PVOID Parameter, BOOLEAN TimedOut) |
NTSTATUS | RtlCreateLpcServer (POBJECT_ATTRIBUTES PortName, PLPCSVR_INITIALIZE Init, PLARGE_INTEGER IdleTimeout, ULONG MessageSize, ULONG Options, PVOID *LpcServer) |
NTSTATUS | RtlShutdownLpcServer (PVOID LpcServer) |
NTSTATUS | RtlImpersonateLpcClient (PVOID Context, PPORT_MESSAGE Message) |
NTSTATUS | RtlCallbackLpcClient (PVOID Context, PPORT_MESSAGE Request, PPORT_MESSAGE Callback) |
|
Definition at line 27 of file lpcsvr.c. Referenced by RtlCallbackLpcClient(), and RtlImpersonateLpcClient(). |
|
Definition at line 24 of file lpcsvr.c. Referenced by RtlpLpcDerefContext(), RtlpLpcServerCallback(), and RtlShutdownLpcServer(). |
|
Definition at line 25 of file lpcsvr.c. Referenced by RtlpLpcDerefContext(), RtlpLpcServerCallback(), and RtlShutdownLpcServer(). |
|
Definition at line 712 of file lpcsvr.c. References _LPCSVR_CONTEXT::CommPort, NtRequestWaitReplyPort(), NTSTATUS(), Request(), RtlpLpcContextFromClient, and Status.
|
|
Definition at line 463 of file lpcsvr.c. References LPCSVR_MESSAGE, LPCSVR_SERVER, NT_SUCCESS, NtCreateWaitablePort(), NTSTATUS(), NULL, PortName, RtlAllocateHeap, RtlDeleteCriticalSection(), RtlFreeHeap, RtlInitializeCriticalSectionAndSpinCount(), RtlpLpcServerCallback(), RtlRegisterWait(), Server, and Status.
|
|
Definition at line 696 of file lpcsvr.c. References _LPCSVR_CONTEXT::CommPort, NtImpersonateClientOfPort(), and RtlpLpcContextFromClient.
|
|
Definition at line 46 of file lpcsvr.c. References _LPCSVR_CONTEXT::CommPort, _LPCSVR_MESSAGE::Header, _LPCSVR_CONTEXT::List, NtClose(), PLPCSVR_CONTEXT, PLPCSVR_MESSAGE, PLPCSVR_SERVER, _LPCSVR_CONTEXT::RefCount, RtlFreeHeap, RtlpLpcLockServer, RtlpLpcUnlockServer, _LPCSVR_CONTEXT::Server, and Server. Referenced by RtlpLpcServerCallback(), RtlpLpcWorkerThread(), and RtlShutdownLpcServer().
|
|
Definition at line 260 of file lpcsvr.c. References _LPCSVR_CONTEXT::CommPort, DbgPrint, FALSE, _LPCSVR_MESSAGE::Header, _LPCSVR_CONTEXT::List, LPCSVR_CONTEXT, LPCSVR_SHUTDOWN_PENDING, LPCSVR_SYNCHRONOUS, _LPCSVR_MESSAGE::Message, NT_SUCCESS, NtAcceptConnectPort(), NtDelayExecution(), NtReplyWaitReceivePortEx(), NTSTATUS(), NULL, _LPCSVR_CONTEXT::RefCount, RtlAllocateHeap, RtlpLpcDerefContext(), RtlpLpcLockServer, RtlpLpcServerCallback(), RtlpLpcUnlockServer, RtlpLpcWorkerThread(), RtlQueueWorkItem(), RtlRegisterWait(), _LPCSVR_CONTEXT::Server, Server, and Status. Referenced by RtlCreateLpcServer(), and RtlpLpcServerCallback().
|
|
Definition at line 134 of file lpcsvr.c. References _LPCSVR_CONTEXT::CommPort, DbgPrint, FALSE, _LPCSVR_MESSAGE::Header, _LPCSVR_SERVER::Init, _LPCSVR_MESSAGE::Message, NT_SUCCESS, NtAcceptConnectPort(), NtCompleteConnectPort(), NtReplyPort(), NTSTATUS(), NULL, _LPCSVR_CONTEXT::PrivateContext, _LPCSVR_CONTEXT::RefCount, RtlpLpcDerefContext(), _LPCSVR_CONTEXT::Server, and Status. Referenced by RtlpLpcServerCallback().
|
|
Definition at line 552 of file lpcsvr.c. References FALSE, _LPCSVR_CONTEXT::List, List, LPCSVR_SHUTDOWN_PENDING, NT_SUCCESS, NtClose(), NtCreateEvent(), NTSTATUS(), NtWaitForSingleObject(), NULL, _LPCSVR_CONTEXT::PrivateContext, RtlDeregisterWait(), RtlFreeHeap, RtlpLpcDerefContext(), RtlpLpcLockServer, RtlpLpcUnlockServer, Server, and Status.
|