共用方式為


CAtlBaseModule::AddResourceInstance

Adds a resource instance to the list of stored handles.

bool AddResourceInstance(
   HINSTANCE hInst 
) throw( );

Parameters

  • hInst
    The resource instance to add.

Return Value

Returns true if the resource was successfully added, false otherwise.

Requirements

Header: atlcore.h

See Also

Reference

CAtlBaseModule Class

CAtlBaseModule::GetHInstanceAt

CAtlBaseModule::RemoveResourceInstance

Other Resources

CAtlBaseModule Members