Share via


CComModule::m_hInstResource

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

HINSTANCE m_hInstResource;

Remarks

By default, contains the handle to the module instance.

The Init method sets m_hInstResource to the handle passed to DLLMain or WinMain. You can explicitly set m_hInstResource to the handle to a resource.

The GetResourceInstance method returns the handle stored in m_hInstResource.

Requirements

Header: atlbase.h

See Also

Reference

CComModule Class