CreateTypeLib2

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.

At a Glance

Header file: Oleauto.h
Windows CE versions: 2.0 and later

Syntax

HRESULT CreateTypeLib2( SYSKIND syskind, LPOLESTR szFile, ICreateTypeLib2 ** ppctlib);

Remarks

Windows CE does not implement the ICreateTypeLib2::SaveAllChanges method.

Passing into this function any invalid and, under some circumstances, NULL pointers will result in unexpected termination of the application.