AtlUpdateRegistryFromResourceD
This function is called to update the registry from the supplied resource.
Important
This function cannot be used in applications that execute in the Windows Runtime.
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