ICreateTypeInfo::SetTypeFlags method (oaidl.h)

Sets type flags of the type description being created.

Syntax

HRESULT SetTypeFlags(
  [in] UINT uTypeFlags
);

Parameters

[in] uTypeFlags

The settings for the type flags. For details, see TYPEFLAGS.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
One or more of the arguments is not valid.
E_OUTOFMEMORY
Insufficient memory to complete the operation.
E_ACCESSDENIED
Cannot write to the destination.
STG_E_INSUFFICIENTMEMORY
Insufficient memory to complete the operation.
TYPE_E_WRONGTYPEKIND
Type mismatch.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

ICreateTypeInfo