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.

88 lines
2.1 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. blocklst.hxx
  5. Abstract:
  6. Contains types, prototypes, manifests for blocklst.cxx
  7. Author:
  8. Arthur L Bierer (arthurbi) 18-Feb-1998
  9. Revision History:
  10. 18-Feb-1998 arthurbi
  11. Created
  12. --*/
  13. DWORD
  14. BlockThreadOnEvent(
  15. IN DWORD_PTR eventId,
  16. IN DWORD dwTimeout,
  17. IN BOOL bReleaseLock
  18. );
  19. DWORD
  20. SignalThreadOnEvent(
  21. IN DWORD_PTR dwEventId,
  22. IN DWORD dwNumberOfWaiters,
  23. IN DWORD dwReturnCode
  24. );
  25. VOID
  26. AcquireBlockedRequestQueue(
  27. VOID
  28. );
  29. VOID
  30. ReleaseBlockedRequestQueue(
  31. VOID
  32. );
  33. //
  34. // AR_TYPE - Asynchronous Request Type designator. Used as index into array of
  35. // ARB sizes, hence must start at 0
  36. //
  37. typedef enum {
  38. AR_INTERNET_CONNECT = 0, // 0
  39. AR_INTERNET_OPEN_URL, // 1
  40. AR_INTERNET_READ_FILE, // 2
  41. AR_INTERNET_WRITE_FILE, // 3
  42. AR_INTERNET_QUERY_DATA_AVAILABLE, // 4
  43. AR_INTERNET_FIND_NEXT_FILE, // 5
  44. AR_FTP_FIND_FIRST_FILE, // 6
  45. AR_FTP_GET_FILE, // 7
  46. AR_FTP_PUT_FILE, // 8
  47. AR_FTP_DELETE_FILE, // 9
  48. AR_FTP_RENAME_FILE, // 10
  49. AR_FTP_OPEN_FILE, // 11
  50. AR_FTP_CREATE_DIRECTORY, // 12
  51. AR_FTP_REMOVE_DIRECTORY, // 13
  52. AR_FTP_SET_CURRENT_DIRECTORY, // 14
  53. AR_FTP_GET_CURRENT_DIRECTORY, // 15
  54. AR_GOPHER_FIND_FIRST_FILE, // 16
  55. AR_GOPHER_OPEN_FILE, // 17
  56. AR_GOPHER_GET_ATTRIBUTE, // 18
  57. AR_HTTP_SEND_REQUEST, // 19
  58. AR_HTTP_BEGIN_SEND_REQUEST, // 20
  59. AR_HTTP_END_SEND_REQUEST, // 21
  60. AR_READ_PREFETCH, // 22
  61. AR_SYNC_EVENT, // 23
  62. AR_TIMER_EVENT, // 24
  63. AR_HTTP_REQUEST1, // 25
  64. AR_FILE_IO, // 26
  65. AR_INTERNET_READ_FILE_EX, // 27
  66. AR_MAX_REQUEST_TYPE
  67. } AR_TYPE;