Share via


CAtlModule::AddCommonRGSReplacements

 

Override this method to add parameters to the ATL Registry Component (Registrar) replacement map.

Syntax

      virtual HRESULT AddCommonRGSReplacements(
   IRegistrarBase* /*pRegistrar*/
) throw( ) = 0;

Parameters

  • pRegistrar
    Reserved.

Return Value

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

Remarks

Replaceable parameters allow a Registrar's client to specify run-time data. To do this, the Registrar maintains a replacement map into which it enters the values associated with the replaceable parameters in your script. The Registrar makes these entries at run time.

See the topic Using Replaceable Parameters (The Registrar's Preprocessor) for more details.

Requirements

Header: atlbase.h

See Also

CAtlModule Class
ATL Registry Component (Registrar)