import "iunknown.idl"; [ object, uuid(00000001-0000-0000-c000-000000000046) ] interface IClassFactory : IUnknown { HRESULT CreateInstance( [in] IUnknown *outer, [in] const IID *iid, [out, retval, poly(iid)] void **instance ); HRESULT LockServer([in] bool lock); };