Public Member Functions | |
| HRESULT | CreateCOMObjectInstance ([in] const IID *piid,[out, retval] IUnknown **ppObj) |
| HRESULT IRsObjectFactory::CreateCOMObjectInstance | ( | [in] const IID * | piid, | |
| [out, retval] IUnknown ** | ppObj | |||
| ) |
Creates new instance of given COM object.
| piid | [in] Pointer to the identifier of the class to create. |
This method supports the standard return values E_INVALIDARG, E_OUTOFMEMORY, and E_UNEXPECTED, as well as the following:
S_OK The specified object was created.
E_INVALIDARG if factory does not create instance of an object.
1.5.5