#include "ki.h"
Go to the source code of this file.
Functions | |
VOID | KiAllocateReceiveBufferChannel (VOID) |
VOID | KiCloseChannel (IN PEPROCESS Process, IN PVOID Object, IN ACCESS_MASK GrantedAccess, IN ULONG ProcessHandleCount, IN ULONG SystemHandleCount) |
VOID | KiDeleteChannel (IN PVOID Object) |
NTSTATUS | KiListenChannel (IN PRECHANNEL ServerChannel, IN KPROCESSOR_MODE WaitMode, OUT PCHANNEL_MESSAGE *Message) |
PKTHREAD | KiRendezvousWithThread (IN PRECHANNEL WaitChannel, IN ULONG WaitMode) |
NTSTATUS | NtCreateChannel (OUT PHANDLE ChannelHandle, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL) |
NTSTATUS | NtListenChannel (IN HANDLE ChannelHandle, OUT PCHANNEL_MESSAGE *Message) |
NTSTATUS | NtOpenChannel (OUT PHANDLE ChannelHandle, IN POBJECT_ATTRIBUTES ObjectAttributes) |
NTSTATUS | NtReplyWaitSendChannel (IN PVOID Text, IN ULONG Length, OUT PCHANNEL_MESSAGE *Message) |
NTSTATUS | NtSendWaitReplyChannel (IN HANDLE ChannelHandle, IN PVOID Text, IN ULONG Length, OUT PCHANNEL_MESSAGE *Message) |
NTSTATUS | NtSetContextChannel (IN PVOID Context) |
Variables | |
POBJECT_TYPE | KeChannelType |
GENERIC_MAPPING | KiChannelMapping |
|
Referenced by NtListenChannel(), NtReplyWaitSendChannel(), and NtSendWaitReplyChannel(). |
|
|
|
|
|
Referenced by NtListenChannel(), and NtReplyWaitSendChannel(). |
|
Referenced by NtReplyWaitSendChannel(), and NtSendWaitReplyChannel(). |
|
Definition at line 101 of file channel.c. References _ECHANNEL::ClearToSendEvent, _ECHANNEL::ClientThread, ECHANNEL, ExSystemExceptionFilter(), FALSE, KeChannelType, KeInitializeEvent, KernelMode, KPROCESSOR_MODE, LISTEN_CHANNEL, NT_SUCCESS, NTSTATUS(), NULL, ObCreateObject(), ObInsertObject(), ObjectAttributes, _ECHANNEL::OwnerProcess, ProbeAndZeroHandle, PsGetCurrentProcess, _ECHANNEL::ReceiveEvent, _ECHANNEL::ServerChannel, _ECHANNEL::ServerContext, ServerIdle, _ECHANNEL::ServerThread, _ECHANNEL::State, Status, and _ECHANNEL::Type.
|
|
Definition at line 236 of file channel.c. References ExSystemExceptionFilter(), KeChannelType, KeGetCurrentThread, KernelMode, KiAllocateReceiveBufferChannel(), KiListenChannel(), KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), ProbeAndNullPointer, _ECHANNEL::ServerChannel, ServerThread(), and Status.
|
|
Definition at line 348 of file channel.c. References ClientIdle, ClientThread(), ExSystemExceptionFilter(), FALSE, KeChannelType, KeGetCurrentThread, KeInitializeEvent, KernelMode, KPROCESSOR_MODE, MESSAGE_CHANNEL, NT_SUCCESS, NTSTATUS(), NULL, ObCreateObject(), ObDereferenceObject, ObInsertObject(), ObjectAttributes, ObReferenceObjectByName(), _ECHANNEL::OwnerProcess, PECHANNEL, ProbeAndZeroHandle, PsGetCurrentProcess, and Status.
|
|
Definition at line 525 of file channel.c. References CHAR, _ECHANNEL::ClearToSendEvent, ClientIdle, _ECHANNEL::ClientThread, ClientThread(), ExSystemExceptionFilter(), FALSE, _KEVENT::Header, KeGetCurrentThread, KernelMode, KiAllocateReceiveBufferChannel(), KiListenChannel(), KiLockDispatcherDatabase, KiReadyThread(), KiRendezvousWithThread(), KiUnlockDispatcherDatabase(), KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObject, PAGE_SIZE, ProbeAndNullPointer, ProbeForRead, _ECHANNEL::ReceiveEvent, _ECHANNEL::ServerChannel, ServerReceiveMessage, _ECHANNEL::ServerThread, ServerThread(), _ECHANNEL::State, Status, _DISPATCHER_HEADER::WaitListHead, and WrRendezvous.
|
|
Definition at line 807 of file channel.c. References ClientIdle, ClientSendWaitReply, ClientThread(), ExSystemExceptionFilter(), FALSE, KeChannelType, KeGetCurrentThread, KernelMode, KiAllocateReceiveBufferChannel(), KiLockDispatcherDatabase, KiReadyThread(), KiRendezvousWithThread(), KiUnlockDispatcherDatabase(), KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObject, ObReferenceObjectByHandle(), PAGE_SIZE, ProbeAndNullPointer, ProbeForRead, _ECHANNEL::ServerChannel, ServerReceiveMessage, ServerThread(), Status, and WrRendezvous.
|
|
Definition at line 1082 of file channel.c. References KeGetCurrentThread, NTSTATUS(), NULL, _ECHANNEL::ServerContext, _ECHANNEL::ServerThread, and Status.
|
|
Definition at line 68 of file channel.c. Referenced by NtCreateChannel(), NtListenChannel(), NtOpenChannel(), and NtSendWaitReplyChannel(). |
|
Initial value:
|