Source code of Windows XP (NT5)
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

  1. #ifndef __ICQ_IO_H
  2. #define __ICQ_IO_H
  3. #endif // __ICQ_IO_H
  4. //
  5. // IoCompletion Routines
  6. //
  7. //
  8. // Reading incoming UDP packets from the ICQ Server.
  9. //
  10. VOID
  11. ReadServerCompletionRoutine
  12. (
  13. ULONG ErrorCode,
  14. ULONG BytesTransferred,
  15. PNH_BUFFER Bufferp
  16. );
  17. //
  18. // Write Completion Routine which frees Up the Buffer
  19. //
  20. VOID
  21. IcqWriteCompletionRoutine
  22. (
  23. ULONG ErrorCode,
  24. ULONG BytesTransferred,
  25. PNH_BUFFER Bufferp
  26. );
  27. //
  28. // Reading from the UDP packets from the Client
  29. // (old ReadTestIcqCompletionRoutine)
  30. //
  31. VOID
  32. IcqReadClientUdpCompletionRoutine
  33. (
  34. ULONG ErrorCode,
  35. ULONG BytesTransferred,
  36. PNH_BUFFER Bufferp
  37. );
  38. VOID
  39. IcqPeerConnectionCompletionRoutine
  40. (
  41. ULONG ErrorCode,
  42. ULONG BytesTransferred,
  43. PNH_BUFFER Bufferp
  44. );
  45. VOID
  46. IcqPeerReadCompletionRoutine
  47. (
  48. ULONG ErrorCode,
  49. ULONG BytesTransferred,
  50. PNH_BUFFER Bufferp
  51. );
  52. VOID
  53. IcqPeerWriteCompletionRoutine
  54. (
  55. ULONG ErrorCode,
  56. ULONG BytesTransferred,
  57. PNH_BUFFER Bufferp
  58. );