20 #ifndef WINPR_PIPE_PRIVATE_H
21 #define WINPR_PIPE_PRIVATE_H
25 #include <winpr/pipe.h>
26 #include <winpr/collections.h>
28 #include "../handle/handle.h"
40 typedef void (*fnUnrefNamedPipe)(WINPR_NAMED_PIPE* pNamedPipe);
59 DWORD nDefaultTimeOut;
60 DWORD dwFlagsAndAttributes;
63 fnUnrefNamedPipe pfnUnrefNamedPipe;
66 BOOL winpr_destroy_named_pipe(WINPR_NAMED_PIPE* pNamedPipe);
68 BOOL NamedPipeRead(PVOID Object, LPVOID lpBuffer, DWORD nNumberOfBytesToRead,
70 BOOL NamedPipeWrite(PVOID Object, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite,
71 LPDWORD lpNumberOfBytesWritten,
LPOVERLAPPED lpOverlapped);