This topic has not yet been rated - Rate this topic

AtlRegisterTypeLib

This function is called to register a type library.

ATLAPI AtlRegisterTypeLib(
   HINSTANCE hInstTypeLib,
   LPCOLESTR lpszIndex 
);

Parameters

hInstTypeLib
The handle to the module instance.
lpszIndex
String in the format "\\N", where N is the integer index of the type library resource. Can be NULL if no index is required.

Return Value

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

Remarks

This helper function is utilized by AtlComModuleUnregisterServer and CAtlComModule::RegisterTypeLib.

See Also

Server Registration Global Functions | AtlLoadTypeLib | AtlUnRegisterTypeLib

Did you find this helpful?
(1500 characters remaining)