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.
|
|
/*++
Copyright (c) Microsoft Corporation
Module Name:
CAssemblyCacheItemStream.h
Abstract: Like a CFileStream (its base) but also implements Commit over associated CAssemblyCacheItem. This functionality was moved out of CFileStream.
Author:
Jay Krell (a-JayK, JayKrell) June 2000
Revision History:
--*/ #if !defined(_FUSION_SXS_CASSEMBLYCACHEITEMSTREAM_H_INCLUDED_)
#define _FUSION_SXS_CASSEMBLYCACHEITEMSTREAM_H_INCLUDED_
#pragma once
#include "objidl.h"
#include "sxsasmitem.h"
#include "filestream.h"
#include "smartref.h"
class CAssemblyCacheItem;
class CAssemblyCacheItemStream : public CReferenceCountedFileStream { private: typedef CReferenceCountedFileStream Base;
public: CAssemblyCacheItemStream() : Base() { }
~CAssemblyCacheItemStream() { }
STDMETHODIMP Commit( DWORD grfCommitFlags ) { HRESULT hr = NOERROR; FN_TRACE_HR(hr);
PARAMETER_CHECK(grfCommitFlags == 0); IFCOMFAILED_EXIT(Base::Commit(grfCommitFlags));
hr = NOERROR; Exit: return hr; }
private: // intentionally not implemented
CAssemblyCacheItemStream(const CAssemblyCacheItemStream&); void operator=(const CAssemblyCacheItemStream&); };
#endif
|