windows-nt/Source/XPSP1/NT/inetsrv/query/h/pidcvt.hxx

56 lines
1.4 KiB
C++
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1998.
//
// File: PidCvt.hxx
//
// Contents: CPidConverter -- Convert FULLPROPSPEC to PROPID
//
// History: 29-Dec-97 KyleP Created
//
//--------------------------------------------------------------------------
#include <pidmap.hxx>
//+-------------------------------------------------------------------------
//
// Class: CPidConverter
//
// Purpose: FULLPROPSPEC --> PROPID mapper for pidmap object
//
// History: 29-Dec-97 KyleP Created
//
//--------------------------------------------------------------------------
class CPidConverter : public PPidConverter
{
public:
inline CPidConverter( IPropertyMapper * pPropMapper );
virtual SCODE FPSToPROPID( CFullPropSpec const & fps, PROPID & pid );
private:
XInterface<IPropertyMapper> _xPropMapper;
};
//+-------------------------------------------------------------------------
//
// Member: CPidConverter::CPidConverter, public
//
// Synopsis: Constructor
//
// Arguments: [pPropMapper] -- Property mapper used to perform xlation
//
// History: 29-Dec-1997 KyleP Created
//
//--------------------------------------------------------------------------
inline CPidConverter::CPidConverter( IPropertyMapper * pPropMapper )
: _xPropMapper( pPropMapper )
{
_xPropMapper->AddRef();
}