enderalse/SKSE/Plugins/fs_skse_plugin_functions/common/IPipeClient.h
2021-10-06 02:45:46 +02:00

21 lines
321 B
C++

#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;
};