11 #ifndef ASIO_DETAIL_WIN_IOCP_OPERATION_HPP 12 #define ASIO_DETAIL_WIN_IOCP_OPERATION_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 20 #if defined(ASIO_HAS_IOCP) 32 class win_iocp_io_service;
36 class win_iocp_operation
41 void complete(win_iocp_io_service& owner,
43 std::size_t bytes_transferred)
45 func_(&owner,
this, ec, bytes_transferred);
54 typedef void (*func_type)(
55 win_iocp_io_service*, win_iocp_operation*,
58 win_iocp_operation(func_type func)
81 friend class op_queue_access;
82 friend class win_iocp_io_service;
83 win_iocp_operation* next_;
93 #endif // defined(ASIO_HAS_IOCP) 95 #endif // ASIO_DETAIL_WIN_IOCP_OPERATION_HPP #define ASIO_ALSO_INHERIT_TRACKED_HANDLER
Class to represent an error code value.