Leaked source code of windows server 2003
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.

61 lines
1.4 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1994-1997 **/
  4. /**********************************************************************/
  5. /*
  6. atq.h
  7. This module contains async thread queue (atq) for async IO and thread
  8. pool sharing among various services.
  9. Brief Description of ATQ:
  10. For description, please see iis\spec\isatq.doc
  11. */
  12. #ifndef _ATQ2_H_
  13. #define _ATQ2_H_
  14. typedef enum _AtqShutdownFlag {
  15. ATQSD_SEND = SD_SEND,
  16. ATQSD_RECEIVE = SD_RECEIVE,
  17. ATQSD_BOTH = SD_BOTH
  18. } AtqShutdownFlag;
  19. dllexp
  20. VOID
  21. AtqGetDatagramAddrs(
  22. IN PATQ_CONTEXT patqContext,
  23. OUT SOCKET * pSock,
  24. OUT PVOID * ppvBuff,
  25. OUT PVOID * pEndpointContext,
  26. OUT SOCKADDR * * ppsockaddrRemote,
  27. OUT INT * pcbsockaddrRemote
  28. );
  29. dllexp
  30. DWORD_PTR
  31. AtqContextGetInfo(
  32. PATQ_CONTEXT patqContext,
  33. enum ATQ_CONTEXT_INFO atqInfo
  34. );
  35. dllexp
  36. BOOL
  37. AtqWriteDatagramSocket(
  38. IN PATQ_CONTEXT patqContext,
  39. IN LPWSABUF pwsaBuffers,
  40. IN DWORD dwBufferCount,
  41. IN OVERLAPPED * lpo OPTIONAL
  42. );
  43. dllexp
  44. BOOL
  45. AtqShutdownSocket(
  46. IN PATQ_CONTEXT patqContext,
  47. IN AtqShutdownFlag flags
  48. );
  49. #endif // !_ATQ2_H_