Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AtlRegisterTypeLib

 

This function is called to register a type library.

System_CAPS_importantImportant

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


      ATLAPI AtlRegisterTypeLib(
HINSTANCE hInstTypeLib,
LPCOLESTR lpszIndex 
);

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.

Returns S_OK on success, or an error HRESULT on failure.

Requirements

Header: atlbase.h

Show: