AtlRegisterTypeLib
Visual Studio .NET 2003
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