//--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1996 - 1997 // // File: cmimecf.cxx // // Contents: MimeType Object Class Factory Code // // History: 04-01-97 krishnag Created. // //---------------------------------------------------------------------------- #include "iis.hxx" #pragma hdrstop //+--------------------------------------------------------------------------- // // Function: CIISMimeTypeCF::CreateInstance // // Synopsis: // // Arguments: [pUnkOuter] // [iid] // [ppv] // // Returns: HRESULT // // Modifies: // // History: 01-30-95 krishnag Created. //---------------------------------------------------------------------------- STDMETHODIMP CIISMimeTypeCF::CreateInstance(IUnknown * pUnkOuter, REFIID iid, LPVOID * ppv) { HRESULT hr = E_FAIL; if (pUnkOuter) RRETURN(E_FAIL); hr = CMimeType::CreateMimeType( iid, ppv ); RRETURN(hr); }