ICreateTypeLib::CreateTypeInfo

szName, tkind, lplpctinfo)
OLECHAR FAR* szName
TYPEKIND tkind
ICreateTypeInfo FAR* FAR* lplpctinfo

Parameters

szName

Name of the new type.

tkind

TYPEKIND of the type description to be created.

lplpctinfo

On return, contains a pointer to the type description.

Return Value

The SCODE value of the returned HRESULT is one of the following:

SCODE
Meaning
S_OK
Success.
STG_E_INSUFFICIENTMEMORY
Out of memory.
E_OUTOFMEMORY
Out of memory.
E_INVALIDARG
One or more of the arguments is invalid.
TYPE_E_INVALIDSTATE
The type library's state is not valid for this operation.
TYPE_E_NAMECONFLICT
The provided name is not unique.
TYPE_E_WRONGTYPEKIND
Type mismatch.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples