AtlUnRegisterTypeLib

此功能称为取消注册类型库。

重要

此功能无法在 Windows 运行时执行的应用程序。

ATLAPI AtlUnRegisterTypeLib(
HINSTANCE hInstTypeLib,
LPCOLESTR lpszIndex 
);

参数

  • hInstTypeLib
    对于模块实例的句柄。

  • lpszIndex
    字符串的格式“\ \ N”,其中N是类型库资源的整数索引。 如果不需要,可以为NULL索引。

返回值

返回在成功的S_OK或在失败时错误HRESULT。

备注

CAtlComModule::UnRegisterTypeLibAtlComModuleUnregisterServer使用此helper函数。

要求

Header: atlbase.h

请参见

参考

AtlRegisterTypeLib

AtlLoadTypeLib

其他资源

服务器注册全局函数