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.

98 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1999-2000 Microsoft Corporation
  3. Module Name:
  4. dav_handler.h
  5. Abstract:
  6. Handler class for DAV
  7. Author:
  8. Taylor Weiss (TaylorW) 01-Feb-1999
  9. Revision History:
  10. --*/
  11. #ifndef _DAV_HANDLER_H_
  12. #define _DAV_HANDLER_H_
  13. #include "isapi_handler.h"
  14. #define DAV_MODULE_NAME L"httpext.dll"
  15. //
  16. // The W3_DAV_HANDLER is essentially just a wrapper for
  17. // the W3_ISAPI_HANDLER. It takes the original target of
  18. // the request URL and submits it to the ISAPI handler
  19. // as if it were script mapped to the DAV ISAPI.
  20. //
  21. class W3_DAV_HANDLER : public W3_ISAPI_HANDLER
  22. {
  23. public:
  24. W3_DAV_HANDLER( W3_CONTEXT * pW3Context )
  25. : W3_ISAPI_HANDLER( pW3Context, NULL )
  26. {
  27. }
  28. WCHAR *
  29. QueryName(
  30. VOID
  31. )
  32. {
  33. return L"DAVHandler";
  34. }
  35. CONTEXT_STATUS
  36. DoWork(
  37. VOID
  38. );
  39. CONTEXT_STATUS
  40. OnCompletion(
  41. DWORD cbCompletion,
  42. DWORD dwCompletionStatus
  43. );
  44. static
  45. HRESULT
  46. W3_DAV_HANDLER::Initialize(
  47. VOID
  48. );
  49. static
  50. VOID
  51. Terminate(
  52. VOID
  53. )
  54. {
  55. }
  56. static
  57. LPCWSTR
  58. QueryDavImage(
  59. VOID
  60. );
  61. private:
  62. //
  63. // Avoid c++ errors
  64. //
  65. W3_DAV_HANDLER( const W3_DAV_HANDLER & )
  66. : W3_ISAPI_HANDLER( NULL, NULL )
  67. {
  68. }
  69. W3_DAV_HANDLER & operator = ( const W3_DAV_HANDLER & ) { return *this; }
  70. };
  71. #endif // _DAV_HANDLER_H_