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.

39 lines
1.2 KiB

  1. /******************************************************************************
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. Serializer.h
  5. Abstract:
  6. This file contains the declaration of some Serializer interfaces,
  7. allowing to use the FileSystem or the HTTP channel in a similar way.
  8. Revision History:
  9. Davide Massarenti (Dmassare) 04/20/99
  10. created
  11. ******************************************************************************/
  12. #if !defined(__INCLUDED___ULSERVER___SERIALIZER_H___)
  13. #define __INCLUDED___ULSERVER___SERIALIZER_H___
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. class MPCSerializerHttp : public MPC::Serializer
  18. {
  19. MPCHttpContext* m_context;
  20. //////////////////////////////////////////////////////////////////
  21. public:
  22. MPCSerializerHttp( /*[in]*/ MPCHttpContext* context );
  23. virtual HRESULT read ( /*[in]*/ void* pBuf, /*[in]*/ DWORD dwLen, /*[out]*/ DWORD* dwRead = NULL );
  24. virtual HRESULT write( /*[in]*/ const void* pBuf, /*[in]*/ DWORD dwLen );
  25. };
  26. #endif // !defined(__INCLUDED___ULSERVER___SERIALIZER_H___)