windows-nt/Source/XPSP1/NT/ds/adsi/ldap/namecf.cxx
2020-09-26 16:20:57 +08:00

37 lines
734 B
C++

#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);
}