ReactOS 0.4.16-dev-226-g79f2289
|
Go to the source code of this file.
Macros | |
#define | ok_eq_print_(value, expected, spec, FileAndLine) KmtOk((value) == (expected), FileAndLine, #value " = " spec ", expected " spec "\n", value, expected) |
#define | ok_eq_ulong_(value, expected) ok_eq_print_(value, expected, "%lu", FileAndLine) |
#define | ok_eq_ulonglong_(value, expected) ok_eq_print_(value, expected, "%I64u", FileAndLine) |
#define | ok_eq_ulongptr_(value, expected) ok_eq_print_(value, (ULONG_PTR)(expected), "%lu", FileAndLine) |
#define | ok_eq_hex_(value, expected) ok_eq_print_(value, expected, "0x%08lx", FileAndLine) |
Variables | |
static KSTART_ROUTINE | PipeWorkerThread |
Definition at line 443 of file NpfsHelpers.c.
#define ok_eq_print_ | ( | value, | |
expected, | |||
spec, | |||
FileAndLine | |||
) | KmtOk((value) == (expected), FileAndLine, #value " = " spec ", expected " spec "\n", value, expected) |
Definition at line 434 of file NpfsHelpers.c.
Definition at line 436 of file NpfsHelpers.c.
Definition at line 437 of file NpfsHelpers.c.
#define ok_eq_ulongptr_ | ( | value, | |
expected | |||
) | ok_eq_print_(value, (ULONG_PTR)(expected), "%lu", FileAndLine) |
Definition at line 439 of file NpfsHelpers.c.
Definition at line 417 of file NpfsHelpers.c.
Referenced by NpQueryPipe_().
VOID FinishWorkerThread | ( | IN PTHREAD_CONTEXT | Context | ) |
Definition at line 685 of file NpfsHelpers.c.
Referenced by TestConnect(), and TestReadWrite().
VOID NpCheckClientPipe_ | ( | IN HANDLE | ClientHandle, |
IN ULONG | ReadMode, | ||
IN ULONG | CompletionMode, | ||
IN ULONG | NamedPipeType, | ||
IN ULONG | NamedPipeConfiguration, | ||
IN ULONG | MaximumInstances, | ||
IN ULONG | CurrentInstances, | ||
IN ULONG | InboundQuota, | ||
IN ULONG | ReadDataAvailable, | ||
IN ULONG | OutboundQuota, | ||
IN ULONG | WriteQuotaAvailable, | ||
IN ULONG | NamedPipeState, | ||
IN PCSTR | FileAndLine | ||
) |
Definition at line 520 of file NpfsHelpers.c.
VOID NpCheckServerPipe_ | ( | IN HANDLE | ServerHandle, |
IN ULONG | ReadMode, | ||
IN ULONG | CompletionMode, | ||
IN ULONG | NamedPipeType, | ||
IN ULONG | NamedPipeConfiguration, | ||
IN ULONG | MaximumInstances, | ||
IN ULONG | CurrentInstances, | ||
IN ULONG | InboundQuota, | ||
IN ULONG | ReadDataAvailable, | ||
IN ULONG | OutboundQuota, | ||
IN ULONG | WriteQuotaAvailable, | ||
IN ULONG | NamedPipeState, | ||
IN PCSTR | FileAndLine | ||
) |
Definition at line 446 of file NpfsHelpers.c.
NTSTATUS NpControlPipe | ( | IN HANDLE | ServerHandle, |
IN ULONG | FsControlCode, | ||
IN PVOID | InputBuffer, | ||
IN ULONG | InputBufferLength | ||
) |
Definition at line 208 of file NpfsHelpers.c.
Referenced by NpWaitPipe().
NTSTATUS NpCreatePipe | ( | OUT PHANDLE | ServerHandle, |
PCWSTR | PipePath, | ||
ULONG | ReadMode, | ||
ULONG | CompletionMode, | ||
ULONG | NamedPipeType, | ||
ULONG | NamedPipeConfiguration, | ||
ULONG | MaximumInstances, | ||
ULONG | InboundQuota, | ||
ULONG | OutboundQuota | ||
) |
Definition at line 86 of file NpfsHelpers.c.
NTSTATUS NpCreatePipeEx | ( | OUT PHANDLE | ServerHandle, |
IN PCWSTR | PipePath, | ||
IN ULONG | ReadMode, | ||
IN ULONG | CompletionMode, | ||
IN ULONG | NamedPipeType, | ||
IN ULONG | ShareAccess, | ||
IN ULONG | MaximumInstances, | ||
IN ULONG | InboundQuota, | ||
IN ULONG | OutboundQuota, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN ULONG | Disposition, | ||
IN ULONG | CreateOptions, | ||
IN PLARGE_INTEGER DefaultTimeout | OPTIONAL | ||
) |
Definition at line 12 of file NpfsHelpers.c.
Referenced by NpCreatePipe().
NTSTATUS NpOpenPipe | ( | OUT PHANDLE | ClientHandle, |
IN PCWSTR | PipePath, | ||
IN ULONG | NamedPipeConfiguration | ||
) |
Definition at line 180 of file NpfsHelpers.c.
Referenced by ConnectPipe().
NTSTATUS NpOpenPipeEx | ( | OUT PHANDLE | ClientHandle, |
IN PCWSTR | PipePath, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN ULONG | ShareAccess, | ||
IN ULONG | Disposition, | ||
IN ULONG | CreateOptions | ||
) |
Definition at line 130 of file NpfsHelpers.c.
Referenced by ConnectPipe(), and NpOpenPipe().
Definition at line 594 of file NpfsHelpers.c.
NTSTATUS NpReadPipe | ( | IN HANDLE | PipeHandle, |
OUT PVOID | Buffer, | ||
IN ULONG | BufferSize, | ||
OUT PULONG_PTR | BytesRead | ||
) |
Definition at line 322 of file NpfsHelpers.c.
Referenced by ReadPipe().
NTSTATUS NpWaitPipe | ( | IN PCWSTR | PipeName, |
IN PLARGE_INTEGER | Timeout | ||
) |
Definition at line 250 of file NpfsHelpers.c.
NTSTATUS NpWritePipe | ( | IN HANDLE | PipeHandle, |
IN const VOID * | Buffer, | ||
IN ULONG | BufferSize, | ||
OUT PULONG_PTR | BytesWritten | ||
) |
Definition at line 374 of file NpfsHelpers.c.
Referenced by WritePipe().
Definition at line 645 of file NpfsHelpers.c.
VOID StartWorkerThread | ( | OUT PTHREAD_CONTEXT | Context | ) |
Definition at line 674 of file NpfsHelpers.c.
Referenced by TestConnect(), and TestReadWrite().
BOOLEAN TriggerWork | ( | IN PTHREAD_CONTEXT | Context, |
IN ULONG | MilliSeconds | ||
) |
Definition at line 710 of file NpfsHelpers.c.
Referenced by CheckConnectPipe(), CheckListenPipe(), CheckReadPipe(), and CheckWritePipe().
BOOLEAN WaitForWork | ( | IN PTHREAD_CONTEXT | Context, |
IN ULONG | MilliSeconds | ||
) |
Definition at line 692 of file NpfsHelpers.c.
Referenced by TestConnect(), TestReadWrite(), and TriggerWork().
|
static |
Definition at line 641 of file NpfsHelpers.c.
Referenced by StartWorkerThread().