AtlUnRegisterTypeLib

This function is called to unregister a type library.

Important

This function cannot be used in applications that execute in the Windows Runtime.

ATLAPI AtlUnRegisterTypeLib( 
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 CAtlComModule::UnRegisterTypeLib and AtlComModuleUnregisterServer.

Requirements

Header: atlbase.h

See Also

Reference

AtlRegisterTypeLib

AtlLoadTypeLib

Other Resources

Server Registration Global Functions