mirror-ac/user/client.h

32 lines
434 B
C
Raw Normal View History

2023-08-18 07:33:13 +02:00
#ifndef CLIENT_H
#define CLIENT_H
#include <Windows.h>
2023-08-18 16:34:15 +02:00
#define REPORT_PACKET_ID 1
#define REQUEST_PATTERNS_TO_BE_SCANNED 2
2023-08-18 07:33:13 +02:00
namespace global
{
class Client
{
HANDLE pipe_handle;
LPTSTR pipe_name;
public:
Client(LPTSTR PipeName);
2023-08-18 16:34:15 +02:00
2023-08-18 09:18:00 +02:00
void WriteToPipe( PVOID Buffer, SIZE_T Size );
2023-08-18 16:34:15 +02:00
void ReadPipe( PVOID Buffer, SIZE_T Size );
2023-08-18 07:33:13 +02:00
};
2023-08-18 16:34:15 +02:00
namespace headers
{
struct PIPE_PACKET_HEADER
{
int message_type;
};
}
2023-08-18 07:33:13 +02:00
}
#endif