windows-nt/Source/XPSP1/NT/ds/adsi/ldap/namecf.cxx

37 lines
734 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
#include "ldap.hxx"
#pragma hdrstop
//+---------------------------------------------------------------------------
//
// Function: CNameTranslateCF::CreateInstance
//
// Synopsis:
//
// Arguments: [pUnkOuter]
// [iid]
// [ppv]
//
// Returns: HRESULT
//
// Modifies:
//
// History: 01-30-95 krishnag Created.
//----------------------------------------------------------------------------
STDMETHODIMP
CNameTranslateCF::CreateInstance(IUnknown * pUnkOuter, REFIID iid, LPVOID * ppv)
{
HRESULT hr = E_FAIL;
if (pUnkOuter)
RRETURN(E_FAIL);
hr = CNameTranslate::CreateNameTranslate(
iid,
ppv
);
RRETURN(hr);
}