Freigeben über


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( );

Parameters

  • 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.

Return Value

A standard HRESULT value.

Remarks

Initializes all data members.

Requirements

Header: atlbase.h

See Also

Concepts

CComModule Class

CComModule Members

CComModule::Term