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.

41 lines
692 B

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