Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
734 B

  1. #include "ldap.hxx"
  2. #pragma hdrstop
  3. //+---------------------------------------------------------------------------
  4. //
  5. // Function: CNameTranslateCF::CreateInstance
  6. //
  7. // Synopsis:
  8. //
  9. // Arguments: [pUnkOuter]
  10. // [iid]
  11. // [ppv]
  12. //
  13. // Returns: HRESULT
  14. //
  15. // Modifies:
  16. //
  17. // History: 01-30-95 krishnag Created.
  18. //----------------------------------------------------------------------------
  19. STDMETHODIMP
  20. CNameTranslateCF::CreateInstance(IUnknown * pUnkOuter, REFIID iid, LPVOID * ppv)
  21. {
  22. HRESULT hr = E_FAIL;
  23. if (pUnkOuter)
  24. RRETURN(E_FAIL);
  25. hr = CNameTranslate::CreateNameTranslate(
  26. iid,
  27. ppv
  28. );
  29. RRETURN(hr);
  30. }