ReactOS 0.4.16-dev-295-g4aee028
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Functions | |
DEBUG_CHANNEL (kernel32file) | |
static BOOL | NpGetUserNamep (HANDLE hNamedPipe, LPWSTR lpUserName, DWORD nMaxUserNameSize) |
BOOL WINAPI | CreatePipe (PHANDLE hReadPipe, PHANDLE hWritePipe, LPSECURITY_ATTRIBUTES lpPipeAttributes, DWORD nSize) |
HANDLE WINAPI | CreateNamedPipeA (LPCSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes) |
HANDLE WINAPI | CreateNamedPipeW (LPCWSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes) |
BOOL WINAPI | WaitNamedPipeA (LPCSTR lpNamedPipeName, DWORD nTimeOut) |
BOOL WINAPI | WaitNamedPipeW (LPCWSTR lpNamedPipeName, DWORD nTimeOut) |
BOOL WINAPI | ConnectNamedPipe (IN HANDLE hNamedPipe, IN LPOVERLAPPED lpOverlapped) |
BOOL WINAPI | SetNamedPipeHandleState (HANDLE hNamedPipe, LPDWORD lpMode, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout) |
BOOL WINAPI | CallNamedPipeA (LPCSTR lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD nTimeOut) |
BOOL WINAPI | CallNamedPipeW (LPCWSTR lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD nTimeOut) |
BOOL WINAPI | DisconnectNamedPipe (HANDLE hNamedPipe) |
BOOL WINAPI | GetNamedPipeHandleStateW (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, LPWSTR lpUserName, DWORD nMaxUserNameSize) |
BOOL WINAPI | GetNamedPipeHandleStateA (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, LPSTR lpUserName, DWORD nMaxUserNameSize) |
BOOL WINAPI | GetNamedPipeInfo (HANDLE hNamedPipe, LPDWORD lpFlags, LPDWORD lpOutBufferSize, LPDWORD lpInBufferSize, LPDWORD lpMaxInstances) |
BOOL WINAPI | PeekNamedPipe (HANDLE hNamedPipe, LPVOID lpBuffer, DWORD nBufferSize, LPDWORD lpBytesRead, LPDWORD lpTotalBytesAvail, LPDWORD lpBytesLeftThisMessage) |
BOOL WINAPI | TransactNamedPipe (IN HANDLE hNamedPipe, IN LPVOID lpInBuffer, IN DWORD nInBufferSize, OUT LPVOID lpOutBuffer, IN DWORD nOutBufferSize, OUT LPDWORD lpBytesRead OPTIONAL, IN LPOVERLAPPED lpOverlapped OPTIONAL) |
Variables | |
LONG | ProcessPipeId |
BOOL WINAPI CallNamedPipeA | ( | LPCSTR | lpNamedPipeName, |
LPVOID | lpInBuffer, | ||
DWORD | nInBufferSize, | ||
LPVOID | lpOutBuffer, | ||
DWORD | nOutBufferSize, | ||
LPDWORD | lpBytesRead, | ||
DWORD | nTimeOut | ||
) |
Definition at line 860 of file npipe.c.
BOOL WINAPI CallNamedPipeW | ( | LPCWSTR | lpNamedPipeName, |
LPVOID | lpInBuffer, | ||
DWORD | nInBufferSize, | ||
LPVOID | lpOutBuffer, | ||
DWORD | nOutBufferSize, | ||
LPDWORD | lpBytesRead, | ||
DWORD | nTimeOut | ||
) |
Definition at line 891 of file npipe.c.
Referenced by CallNamedPipeA().
Definition at line 701 of file npipe.c.
Referenced by _RunRemoteTest(), create_overlapped_pipe(), custom_start_server(), InstallDevice(), local_server_thread(), main(), overlapped_server(), pipe_thread(), pipeserver(), PipeThreadProc(), ScmWaitForServiceConnect(), serverThreadMain1(), serverThreadMain2(), serverThreadMain3(), serverThreadMain4(), serverThreadMain5(), test_CreateNamedPipe(), test_ImpersonateNamedPipeClient(), test_overlapped_error(), test_readfileex_pending(), and test_write_watch().
HANDLE WINAPI CreateNamedPipeA | ( | LPCSTR | lpName, |
DWORD | dwOpenMode, | ||
DWORD | dwPipeMode, | ||
DWORD | nMaxInstances, | ||
DWORD | nOutBufferSize, | ||
DWORD | nInBufferSize, | ||
DWORD | nDefaultTimeOut, | ||
LPSECURITY_ATTRIBUTES | lpSecurityAttributes | ||
) |
Definition at line 220 of file npipe.c.
Referenced by create_overlapped_pipe(), create_pipe_pair(), overlapped_server(), rpcrt4_conn_create_pipe(), serverThreadMain1(), serverThreadMain2(), serverThreadMain3(), serverThreadMain4(), serverThreadMain5(), test_CloseHandle(), test_CreateNamedPipe(), test_CreateNamedPipe_instances_must_match(), test_DisconnectNamedPipe(), test_GetNamedPipeInfo(), test_ImpersonateNamedPipeClient(), test_iocp_fileio(), test_named_pipe_security(), test_NamedPipeHandleState(), test_overlapped_error(), test_query_object(), test_ReadFile(), test_readfileex_pending(), test_runner(), test_security_info(), and test_write_watch().
HANDLE WINAPI CreateNamedPipeW | ( | LPCWSTR | lpName, |
DWORD | dwOpenMode, | ||
DWORD | dwPipeMode, | ||
DWORD | nMaxInstances, | ||
DWORD | nOutBufferSize, | ||
DWORD | nInBufferSize, | ||
DWORD | nDefaultTimeOut, | ||
LPSECURITY_ATTRIBUTES | lpSecurityAttributes | ||
) |
Definition at line 246 of file npipe.c.
Referenced by _RunRemoteTest(), CPipe::CPipe(), custom_start_server(), InstallDevice(), local_server_thread(), PipeThreadProc(), RPC_StartLocalServer(), ScmCreateNewControlPipe(), and test_runner().
BOOL WINAPI CreatePipe | ( | PHANDLE | hReadPipe, |
PHANDLE | hWritePipe, | ||
LPSECURITY_ATTRIBUTES | lpPipeAttributes, | ||
DWORD | nSize | ||
) |
Definition at line 117 of file npipe.c.
Referenced by _pipe(), _tpopen(), CreateClientProcess(), CreateHiddenConsoleProcess(), ExecutePipeline(), main(), PrepareForRedirect(), read_reg_output_(), RunShell(), test__open_osfhandle(), test_Console(), and test_CreatePipe().
DEBUG_CHANNEL | ( | kernel32file | ) |
Definition at line 961 of file npipe.c.
Referenced by InstanceThread(), local_server_thread(), main(), overlapped_server(), pipe_thread(), pipeserver(), PipeThreadProc(), serverThreadMain1(), serverThreadMain2(), serverThreadMain3(), serverThreadMain4(), serverThreadMain5(), test_alertable(), test_CreateNamedPipe(), test_DisconnectNamedPipe(), test_file_info(), test_overlapped_transport(), test_ReadFile(), and test_security_info().
BOOL WINAPI GetNamedPipeHandleStateA | ( | HANDLE | hNamedPipe, |
LPDWORD | lpState, | ||
LPDWORD | lpCurInstances, | ||
LPDWORD | lpMaxCollectionCount, | ||
LPDWORD | lpCollectDataTimeout, | ||
LPSTR | lpUserName, | ||
DWORD | nMaxUserNameSize | ||
) |
Definition at line 1103 of file npipe.c.
Referenced by test_CloseHandle(), and test_NamedPipeHandleState().
BOOL WINAPI GetNamedPipeHandleStateW | ( | HANDLE | hNamedPipe, |
LPDWORD | lpState, | ||
LPDWORD | lpCurInstances, | ||
LPDWORD | lpMaxCollectionCount, | ||
LPDWORD | lpCollectDataTimeout, | ||
LPWSTR | lpUserName, | ||
DWORD | nMaxUserNameSize | ||
) |
Definition at line 1002 of file npipe.c.
Referenced by GetNamedPipeHandleStateA().
BOOL WINAPI GetNamedPipeInfo | ( | HANDLE | hNamedPipe, |
LPDWORD | lpFlags, | ||
LPDWORD | lpOutBufferSize, | ||
LPDWORD | lpInBufferSize, | ||
LPDWORD | lpMaxInstances | ||
) |
Definition at line 1164 of file npipe.c.
Referenced by _test_pipe_info().
Definition at line 28 of file npipe.c.
Referenced by GetNamedPipeHandleStateW().
BOOL WINAPI PeekNamedPipe | ( | HANDLE | hNamedPipe, |
LPVOID | lpBuffer, | ||
DWORD | nBufferSize, | ||
LPDWORD | lpBytesRead, | ||
LPDWORD | lpTotalBytesAvail, | ||
LPDWORD | lpBytesLeftThisMessage | ||
) |
Definition at line 1214 of file npipe.c.
Referenced by _test_peek_pipe(), DoTestEntry(), CPipe::Peek(), ReadFromPipeThread(), serverThreadMain4(), test_CloseHandle(), test_CreateNamedPipe(), and test_DisconnectNamedPipe().
BOOL WINAPI SetNamedPipeHandleState | ( | HANDLE | hNamedPipe, |
LPDWORD | lpMode, | ||
LPDWORD | lpMaxCollectionCount, | ||
LPDWORD | lpCollectDataTimeout | ||
) |
Definition at line 774 of file npipe.c.
Referenced by CallNamedPipeW(), create_overlapped_pipe(), create_pipe_pair(), DhcpCApiInitialize(), main(), rpcrt4_conn_open_pipe(), ScConnectControlPipe(), test_CloseHandle(), test_CreateNamedPipe(), and test_NamedPipeHandleState().
BOOL WINAPI TransactNamedPipe | ( | IN HANDLE | hNamedPipe, |
IN LPVOID | lpInBuffer, | ||
IN DWORD | nInBufferSize, | ||
OUT LPVOID | lpOutBuffer, | ||
IN DWORD | nOutBufferSize, | ||
OUT LPDWORD lpBytesRead | OPTIONAL, | ||
IN LPOVERLAPPED lpOverlapped | OPTIONAL | ||
) |
Definition at line 1315 of file npipe.c.
Referenced by CallNamedPipeW(), DhcpLeaseIpAddress(), DhcpQueryHWInfo(), DhcpReleaseIpAddressLease(), DhcpRenewIpAddressLease(), DhcpRosGetAdapterInfo(), DhcpStaticRefreshParams(), and ScmControlServiceEx().
Definition at line 433 of file npipe.c.
Referenced by is_pipe_listening(), rpcrt4_conn_open_pipe(), service_process(), and test_CreateNamedPipe().
Definition at line 458 of file npipe.c.
Referenced by CallNamedPipeW(), DhcpCApiInitialize(), RPC_GetLocalClassObject(), ScConnectControlPipe(), service_process(), and WaitNamedPipeA().
LONG ProcessPipeId |
Definition at line 19 of file npipe.c.
Referenced by CreatePipe().