LosaDev source snapshot 2019

This commit is contained in:
LosaDev committed 2026-11-07 13:30:45 +07:00
commit c198676e97
20588 files changed
+8812878

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
#pragma once
// Operation ºÐ·ù
typedef enum E_IO_OPERATION
{
E_IO_NONE = 0,
E_IO_ACCEPT,
E_IO_RECEIVE,
E_IO_SEND,
E_IO_DISCONNECT
};
// Overlapped±¸Á¶Ã¼¿Í Operation¼³Á¤
class cOverlapped
{
public:
cOverlapped(void) { Clean(); }
public:
void Clean() { ZeroMemory( &m_overlapped, sizeof(WSAOVERLAPPED) ); }
void SetOperation( E_IO_OPERATION operation ) { m_operation = operation; }
uint8 GetOperation() { return m_operation; }
public:
WSAOVERLAPPED m_overlapped;
uint8 m_operation;
};