#include "ulpc.h"
Go to the source code of this file.
Defines | |
#define | MAX_REQUEST_THREADS 9 |
#define | MAX_CONNECTIONS 4 |
Functions | |
VOID | ServerHandleConnectionRequest (IN PTLPC_PORTMSG Msg) |
DWORD | ServerThread (LPVOID Context) |
VOID | Usage (VOID) |
int _cdecl | main (int argc, char *argv[]) |
Variables | |
HANDLE | ServerConnectionPortHandle |
HANDLE | ServerThreadHandles [MAX_REQUEST_THREADS] |
DWORD | ServerThreadClientIds [MAX_REQUEST_THREADS] |
HANDLE | ServerClientPortHandles [MAX_CONNECTIONS] |
ULONG | CountServerClientPortHandles = 0 |
ULONG | CountClosedServerClientPortHandles = 0 |
BOOLEAN | TestCallBacks |
|
Definition at line 24 of file userver.c. Referenced by ServerHandleConnectionRequest(). |
|
Definition at line 23 of file userver.c. Referenced by main(). |
|
Definition at line 272 of file userver.c. References DWORD, FALSE, LPVOID, MAX_REQUEST_THREADS, NtCreatePort(), NTSTATUS(), NULL, ObjectAttributes, PORT_NAME, PortName, RtlInitUnicodeString(), RtlNtStatusToDosError(), ServerConnectionPortHandle, ServerThread(), ServerThreadClientIds, ServerThreadHandles, ShowHandleOrStatus(), Status, TestCallBacks, TLPC_PORTMSG, TRUE, and Usage().
|
|
Definition at line 37 of file userver.c. References ClientMemoryBase, ClientMemorySize, CountServerClientPortHandles, FALSE, MAX_CONNECTIONS, NtAcceptConnectPort(), NtCompleteConnectPort(), NtCreateSection(), NTSTATUS(), NULL, ServerClientPortHandles, ServerMemoryBase, ServerMemoryDelta, ShowHandleOrStatus(), Status, strlen(), and TRUE. Referenced by ServerThread().
|
|
Definition at line 173 of file userver.c. References CHAR, CheckTlpcMsg(), CountClosedServerClientPortHandles, CountServerClientPortHandles, EnterThread(), LpcMsgTypes, NT_SUCCESS, NtReplyWaitReceivePort(), NTSTATUS(), NULL, RtlIntegerToChar(), RtlNtStatusToDosError(), SendRequest(), ServerClientPortHandles, ServerConnectionPortHandle, ServerHandleConnectionRequest(), Status, strlen(), TestCallBacks, and TRUE. Referenced by main(), NtImpersonateThread(), NtListenChannel(), NtReplyWaitSendChannel(), NtSendWaitReplyChannel(), SeImpersonateClient(), and SeImpersonateClientEx().
|
|
Definition at line 263 of file userver.c.
|
|
Definition at line 32 of file userver.c. Referenced by ServerThread(). |
|
Definition at line 31 of file userver.c. Referenced by ServerHandleConnectionRequest(), and ServerThread(). |
|
Definition at line 30 of file userver.c. Referenced by ServerHandleConnectionRequest(), and ServerThread(). |
|
Definition at line 26 of file userver.c. Referenced by main(), and ServerThread(). |
|
Definition at line 28 of file userver.c. Referenced by main(). |
|
Definition at line 27 of file userver.c. Referenced by main(). |
|
Definition at line 34 of file userver.c. Referenced by main(), and ServerThread(). |