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.

51 lines
866 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name :
  4. AsyncContext.hxx
  5. Abstract:
  6. Context structure for all apppool async calls
  7. Author:
  8. Bilal Alam (balam) 7-Jan-2000
  9. Environment:
  10. Win32 - User Mode
  11. Project:
  12. IIS Worker Process (web service)
  13. --*/
  14. #ifndef _ASYNCCONTEXT_HXX_
  15. #define _ASYNCCONTEXT_HXX_
  16. typedef enum
  17. {
  18. CONTEXT_UL_NATIVE_REQUEST = 0,
  19. CONTEXT_UL_DISCONNECT
  20. }
  21. ASYNC_CONTEXT_TYPE;
  22. class ASYNC_CONTEXT
  23. {
  24. public:
  25. OVERLAPPED _Overlapped;
  26. ASYNC_CONTEXT( VOID )
  27. {
  28. ZeroMemory( &_Overlapped, sizeof(_Overlapped));
  29. }
  30. virtual
  31. VOID
  32. DoWork(
  33. DWORD cbData,
  34. DWORD dwError,
  35. LPOVERLAPPED lpo
  36. ) = 0;
  37. };
  38. #endif