windows-nt/Source/XPSP1/NT/ds/adsi/router/pathcf.cxx

42 lines
692 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
#include "procs.hxx"
#pragma hdrstop
#include "oleds.hxx"
//+---------------------------------------------------------------------------
//
// Function: CPathnameCF::CreateInstance
//
// Synopsis:
//
// Arguments: [pUnkOuter]
// [iid]
// [ppv]
//
// Returns: HRESULT
//
// Modifies:
//
//----------------------------------------------------------------------------
STDMETHODIMP
CPathnameCF::CreateInstance(IUnknown * pUnkOuter, REFIID iid, LPVOID * ppv)
{
HRESULT hr = E_FAIL;
if (pUnkOuter)
RRETURN(E_FAIL);
hr = CPathname::CreatePathname(
iid,
ppv
);
RRETURN(hr);
}