Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CAtlDllModuleT::GetClassObject

 

Creates an object of the specified CLSID.


      HRESULT GetClassObject(
   REFCLSID rclsid,
   REFIID riid,
   LPVOID* ppv 
) throw( );

rclsid

The CLSID of the object to be created.

riid

The IID of the requested interface.

ppv

A pointer to the interface pointer identified by riid. If the object does not support this interface, ppv is set to NULL.

Returns S_OK on success, or an error HRESULT on failure.

This method is called by CAtlDllModuleT::DllGetClassObject and is included for backward compatibility.

Requirements

Header: atlbase.h

Show: