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.
HRESULT CreateTypeLib2(
SYSKIND syskind,
LPOLESTR szFile,
ICreateTypeLib2 **ppctlib);
Parameters
- syskind
The target operating system for which to create a type library. - szFile
The name of the file to create. - ppctlib
Pointer to an instance supporting the ICreateTypeLib interface.
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.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 2.0 and later | Oleauto.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.