Поделиться через


CAtlDllModuleT::DllGetClassObject

Returns the class factory.

HRESULT DllGetClassObject(
   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.

Требования

Header: atlbase.h

См. также

Основные понятия

CAtlDllModuleT Class

CAtlDllModuleT Members