UnregisterTypeLib
Prototypes
HRESULT UnregisterTypeLib(GUID *Guid, UINT Version, UINT Revision, LCID Langue, SYSKIND PlateForme);
Description
Supprime de la base de registres la bibliothèque identifiée par Guid en version-révision Version.Revision pour la langue Langue et pour la plate-forme PlateForme.
Exemple
#include <windows.h>
#include <winbase.h>
#include <ole2.h>
ITypeLib *pITypeLib;
GUID Guid;
BSTR NomFichierTlb;
BSTR NomFichierAide;
...
if (RegisterTypeLib(pITypeLib, NomFichierTlb, NomFichierAide)!=S_OK)
...
if (UnregisterTypeLib(&Guid, 1, 0, LANG_DEFAULT, SYS_WIN32)!=S_OK)
...
Avertissement
Le résultat est S_OK en cas de succès.
Voir aussi
RegisterTypeLib pour référencer une bibliothèque de Type Library.