This function creates a type library in the file/in-memory format that makes use of memory-mapped files for 32-bit platforms. Its output parameter (ppctlib) points to a newly created object that supports the ICreateTypeLib2 interface.
[in] The target OS to create a type library for.
[in] The name of the file to create.
[out] Pointer to an instance supporting the ICreateTypeLib interface.
The operating system does not implement the ICreateTypeLib2::SaveAllChanges method.
Passing invalid (and under some circumstances NULL) pointers to this function causes an unexpected termination of the application.