HRESULT GetClassObject( REFCLSID rclsid, REFIID riid, LPVOID* ppv );
Return Value
A standard HRESULT value.
Parameters
rclsid
[in] The CLSID of the object to be created.
riid
[in] The IID of the requested interface.
ppv
[out] A pointer to the interface pointer identified by riid. If the object does not support this interface, ppv is set to NULL.
Remarks
Creates an object of the specified CLSID and retrieves an interface pointer to this object.
Note GetClassObject is only available to DLLs.