4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
321 B

#pragma once
#include "common/IPipeServer.h"
class IPipeClient
{
public:
IPipeClient();
virtual ~IPipeClient();
bool Open(const char * name);
void Close(void);
bool ReadMessage(UInt8 * buf, UInt32 length);
bool WriteMessage(IPipeServer::MessageHeader * msg);
private:
HANDLE m_pipe;
std::string m_name;
};