AtlModuleUnregisterTypeLib

 

Unregisters a type library.

Note   This function is obsolete in Visual C++ .NET 2002 and later but is available for backward compatibility with projects created with previous versions of Visual C++.

Syntax

      ATLAPI AtlModuleUnregisterTypeLib(
   _ATL_MODULE* pM,
   LPCOLESTR lpszIndex 
);

Parameters

  • pM
    Pointer to a CComModule class or derived class.

  • 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 function is obsolete. Instead, use its replacement, AtlUnRegisterTypeLib.

This helper function is used by CAtlComModule::UnRegisterTypeLib.

Requirements

Header: atlbase.h

See Also

Server Registration Global Functions
CAtlComModule::UnRegisterTypeLib