Partager via


CreateTypeLib2 (Windows CE 5.0)

Send Feedback

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.

HRESULT CreateTypeLib2(SYSKINDsyskind,LPOLESTRszFile,ICreateTypeLib2** ppctlib );

Parameters

  • syskind
    [in] The target OS to create a type library for.
  • szFile
    [in] The name of the file to create.
  • ppctlib
    [out] Pointer to an instance supporting the ICreateTypeLib interface.

Remarks

Windows CE 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.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Oleauto.h.
Link Library: Oleaut32.lib.

See Also

Automation Functions | ICreateTypeLib2 | ICreateTypeLib

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.