Share via


CAtlModule::UpdateRegistryFromResourceDHelper

This method is called by UpdateRegistryFromResourceD to perform the registry update.

inline HRESULT WINAPI UpdateRegistryFromResourceDHelper( 
   LPCOLESTR lpszRes, 
   BOOL bRegister, 
   struct _ATL_REGMAP_ENTRY* pMapEntries = NULL  
) throw( );

Parameters

  • lpszRes
    A resource name.

  • bRegister
    Indicates whether the object should be registered.

  • pMapEntries
    A pointer to the replacement map storing values associated with the script's replaceable parameters. ATL automatically uses %MODULE%. To use additional replaceable parameters, see CAtlModule::AddCommonRGSReplacements. Otherwise, use the NULL default value.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

This method provides the implementation of CAtlModule::UpdateRegistryFromResourceD.

Requirements

Header: atlbase.h

See Also

Reference

CAtlModule Class