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.

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.

Requirements

Header: atlbase.h

Show: