windows-nt/Source/XPSP1/NT/inetsrv/iis/admin/adsi/adsiis/cpobjcf.cxx

51 lines
1.2 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1995
//
// File: cpobjcf.cxx
//
// Contents: Windows NT 4.0 Property Attribute Object Class Factory Code
//
// CIISPropertyAttributeCF::CreateInstance
//
// History: 21-04-97 sophiac Created.
//
//----------------------------------------------------------------------------
#include "iis.hxx"
#pragma hdrstop
//+---------------------------------------------------------------------------
//
// Function: CIISPropertyAttributeCF::CreateInstance
//
// Synopsis:
//
// Arguments: [pUnkOuter]
// [iid]
// [ppv]
//
// Returns: HRESULT
//
// Modifies:
//
// History: 21-04-97 sophiac Created.
//----------------------------------------------------------------------------
STDMETHODIMP
CIISPropertyAttributeCF::CreateInstance(IUnknown * pUnkOuter, REFIID iid, LPVOID * ppv)
{
HRESULT hr = E_FAIL;
if (pUnkOuter)
RRETURN(E_FAIL);
hr = CPropertyAttribute::CreatePropertyAttribute(
iid,
ppv
);
RRETURN(hr);
}