AtlRegisterTypeLib

esta función se denomina para registrar una biblioteca de tipos.

Nota importanteImportante

Esta función no se puede utilizar en las aplicaciones que se ejecutan en Windows en tiempo de ejecución.

ATLAPI AtlRegisterTypeLib(
HINSTANCE hInstTypeLib,
LPCOLESTR lpszIndex 
);

Parámetros

  • hInstTypeLib
    El identificador de la instancia del módulo.

  • lpszIndex
    La cadena en el formato “\\N", where N es el índice entero de recursos de biblioteca de tipos.puede ser NULL si no se requiere ningún índice.

Valor devuelto

Devuelve S_OK en correctamente, o un error HRESULT del error.

Comentarios

Esta función auxiliar es utilizada por AtlComModuleUnregisterServer y CAtlComModule:: RegisterTypeLib.

Requisitos

encabezado: atlbase.h

Vea también

Referencia

AtlLoadTypeLib

AtlUnRegisterTypeLib

Otros recursos

Funciones globales del registro del Servidor