static HRESULT CreateInstance( CComObject< Base >** pp );
Return Value
A standard HRESULT value.
Parameters
pp
[out] A pointer to a CComObject<Base> pointer. If CreateInstance is unsuccessful, pp is set to NULL.
Remarks
This static method allows you to create a new CComObject<Base> object, without the overhead of CoCreateInstance.