ICreateTypeInfo::SetTypeFlags

HRESULT SetTypeFlags(
  unsigned int  uTypeFlags  
);
 

Sets type flags of the type description being created.

Parameter

uTypeFlags
Settings for the type flags.

Return Value

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

Return value 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.
E_ACCESSDENIED Cannot write to the destination.
TYPE_E_WRONGTYPEKIND Type mismatch.

Comments

Use SetTypeFlags to set the flags for the type description. For details, see the "TYPEFLAGS" section in Chapter 9, "Type Description Interfaces."