HyperDbg Debugger
Loading...
Searching...
No Matches
namedpipe.h
Go to the documentation of this file.
1
12#pragma once
13
15// Server Side //
17
18HANDLE
19NamedPipeServerCreatePipe(LPCSTR PipeName, UINT32 OutputBufferSize, UINT32 InputBufferSize);
20
23
25NamedPipeServerReadClientMessage(HANDLE PipeHandle, char * BufferToSave, int MaximumReadBufferLength);
26
29 char * BufferToSend,
30 int BufferSize);
31
32VOID
33NamedPipeServerCloseHandle(HANDLE PipeHandle);
34
36// Client Side //
38
39HANDLE
40NamedPipeClientCreatePipe(LPCSTR PipeName);
41
43NamedPipeClientSendMessage(HANDLE PipeHandle, char * BufferToSend, int BufferSize);
44
46NamedPipeClientReadMessage(HANDLE PipeHandle, char * BufferToRead, int MaximumSizeOfBuffer);
47
48VOID
49NamedPipeClientClosePipe(HANDLE PipeHandle);
UCHAR BOOLEAN
Definition BasicTypes.h:39
#define VOID
Definition BasicTypes.h:33
unsigned int UINT32
Definition BasicTypes.h:48
UINT32 NamedPipeServerReadClientMessage(HANDLE PipeHandle, char *BufferToSave, int MaximumReadBufferLength)
read client message from the named pipe
Definition namedpipe.cpp:88
UINT32 NamedPipeClientReadMessage(HANDLE PipeHandle, char *BufferToRead, int MaximumSizeOfBuffer)
Definition namedpipe.cpp:268
BOOLEAN NamedPipeServerSendMessageToClient(HANDLE PipeHandle, char *BufferToSend, int BufferSize)
Definition namedpipe.cpp:123
BOOLEAN NamedPipeServerWaitForClientConntection(HANDLE PipeHandle)
wait for client connection
Definition namedpipe.cpp:58
HANDLE NamedPipeServerCreatePipe(LPCSTR PipeName, UINT32 OutputBufferSize, UINT32 InputBufferSize)
Create a named pipe server.
Definition namedpipe.cpp:27
HANDLE NamedPipeClientCreatePipe(LPCSTR PipeName)
Create a client named pipe.
Definition namedpipe.cpp:179
VOID NamedPipeClientClosePipe(HANDLE PipeHandle)
close named pipe handle of client
Definition namedpipe.cpp:302
VOID NamedPipeServerCloseHandle(HANDLE PipeHandle)
Close handle of server's named pipe.
Definition namedpipe.cpp:156
BOOLEAN NamedPipeClientSendMessage(HANDLE PipeHandle, char *BufferToSend, int BufferSize)
send client message over named pipe
Definition namedpipe.cpp:225