Leaked source code of windows server 2003
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.

48 lines
1.1 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1996
  5. //
  6. // File: crmapcf.cxx
  7. //
  8. // Contents: IIS cert mapper Object Class Factory Code
  9. //
  10. // CIIScert mapperCF::CreateInstance
  11. //
  12. //----------------------------------------------------------------------------
  13. #include "iisext.hxx"
  14. #pragma hdrstop
  15. //+---------------------------------------------------------------------------
  16. //
  17. // Function: CIISDsCrMapCF::CreateInstance
  18. //
  19. // Synopsis:
  20. //
  21. // Arguments: [pUnkOuter]
  22. // [iid]
  23. // [ppv]
  24. //
  25. // Returns: HRESULT
  26. //
  27. // Modifies:
  28. //
  29. // History: 01-30-95 krishnag Created.
  30. //----------------------------------------------------------------------------
  31. STDMETHODIMP
  32. CIISDsCrMapCF::CreateInstance(IUnknown * pUnkOuter, REFIID iid, LPVOID * ppv)
  33. {
  34. HRESULT hr = S_OK;
  35. if (!pUnkOuter)
  36. RRETURN(E_FAIL);
  37. hr = CIISDsCrMap::Create(
  38. pUnkOuter,
  39. iid,
  40. ppv
  41. );
  42. RRETURN(hr);
  43. }