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


CComModule::Init

As of ATL 7.0, CComModule is obsolete: see ATL Module Classes for more details.

HRESULT Init(
   _ATL_OBJMAP_ENTRY* p,
   HINSTANCE h,
   const GUID* plibid = NULL
) throw( );

Параметры

  • p
    [in] A pointer to an array of object map entries.

  • h
    [in] The HINSTANCE passed to DLLMain or WinMain.

  • plibid
    [in] A pointer to the LIBID of the type library associated with the project.

Возвращаемое значение

A standard HRESULT value.

Заметки

Initializes all data members.

Требования

Header: atlbase.h

См. также

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

CComModule Class

CComModule Members

CComModule::Term