다음을 통해 공유


AtlUpdateRegistryFromResourceD

This function is called to update the registry from the supplied resource.

STDAPI AtlUpdateRegistryFromResourceD(
   HINSTANCE hInst,
   LPCOLESTR lpszRes,
   BOOL bRegister,
   struct _ATL_REGMAP_ENTRY* pMapEntries,
   IRegistrar * pReg 
);

Parameters

  • hInst
    Handle to the current process instance.

  • 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.

  • pReg
    Pointer to the ATL Registry Component (Registrar) replacement map.

Return Value

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

Remarks

Utilized by CAtlModule::UpdateRegistryFromResourceDHelper.

Requirements

Header: atlbase.h

See Also

Concepts

Registry and TypeLib Global Functions