Microsoft Deployment Toolkit
Documentation Library HRESULT GetFactory(LPCTSTR type, IClassFactory **ppFactory) |
This method allows you to retrieve the class factory. Typically, you would call CreateInstance. However, if you are going to create a large number of the same component, it is more efficient to retrieve the factory, and then ask it to create the instances for you.
Related Topics