mirror of https://github.com/tongzx/nt5src
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.
70 lines
1.0 KiB
70 lines
1.0 KiB
#ifndef __ICQ_IO_H
|
|
#define __ICQ_IO_H
|
|
|
|
|
|
|
|
#endif // __ICQ_IO_H
|
|
|
|
|
|
//
|
|
// IoCompletion Routines
|
|
//
|
|
|
|
|
|
//
|
|
// Reading incoming UDP packets from the ICQ Server.
|
|
//
|
|
VOID
|
|
ReadServerCompletionRoutine
|
|
(
|
|
ULONG ErrorCode,
|
|
ULONG BytesTransferred,
|
|
PNH_BUFFER Bufferp
|
|
);
|
|
|
|
//
|
|
// Write Completion Routine which frees Up the Buffer
|
|
//
|
|
VOID
|
|
IcqWriteCompletionRoutine
|
|
(
|
|
ULONG ErrorCode,
|
|
ULONG BytesTransferred,
|
|
PNH_BUFFER Bufferp
|
|
);
|
|
//
|
|
// Reading from the UDP packets from the Client
|
|
// (old ReadTestIcqCompletionRoutine)
|
|
//
|
|
VOID
|
|
IcqReadClientUdpCompletionRoutine
|
|
(
|
|
ULONG ErrorCode,
|
|
ULONG BytesTransferred,
|
|
PNH_BUFFER Bufferp
|
|
);
|
|
|
|
VOID
|
|
IcqPeerConnectionCompletionRoutine
|
|
(
|
|
ULONG ErrorCode,
|
|
ULONG BytesTransferred,
|
|
PNH_BUFFER Bufferp
|
|
);
|
|
|
|
VOID
|
|
IcqPeerReadCompletionRoutine
|
|
(
|
|
ULONG ErrorCode,
|
|
ULONG BytesTransferred,
|
|
PNH_BUFFER Bufferp
|
|
);
|
|
|
|
VOID
|
|
IcqPeerWriteCompletionRoutine
|
|
(
|
|
ULONG ErrorCode,
|
|
ULONG BytesTransferred,
|
|
PNH_BUFFER Bufferp
|
|
);
|
|
|