mirror of https://github.com/tongzx/nt5src
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.1 KiB
39 lines
1.1 KiB
/******************************************************************************
|
|
|
|
Copyright (c) 2000 Microsoft Corporation
|
|
|
|
Module Name:
|
|
Serializer.h
|
|
|
|
Abstract:
|
|
This file contains the declaration of some Serializer interfaces,
|
|
allowing to use the FileSystem or the HTTP channel in a similar way.
|
|
|
|
Revision History:
|
|
Davide Massarenti (Dmassare) 04/20/99
|
|
created
|
|
|
|
******************************************************************************/
|
|
|
|
#if !defined(__INCLUDED___ULSERVER___SERIALIZER_H___)
|
|
#define __INCLUDED___ULSERVER___SERIALIZER_H___
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
class MPCSerializerHttp : public MPC::Serializer
|
|
{
|
|
MPCHttpContext* m_context;
|
|
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
public:
|
|
MPCSerializerHttp( /*[in]*/ MPCHttpContext* context );
|
|
|
|
virtual HRESULT read ( /*[in]*/ void* pBuf, /*[in]*/ DWORD dwLen, /*[out]*/ DWORD* dwRead = NULL );
|
|
virtual HRESULT write( /*[in]*/ const void* pBuf, /*[in]*/ DWORD dwLen );
|
|
};
|
|
|
|
|
|
#endif // !defined(__INCLUDED___ULSERVER___SERIALIZER_H___)
|