ICreateTypeInfo::SetImplTypeFlags

HRESULT SetImplTypeFlags(
  unsigned int  index,  
  int  implTypeFlags    
);
 

Sets the attributes for an implemented or inherited interface of a type.

Parameters

index
Index of the interface for which to set type flags.
implTypeFlags
IMPLTYPE flags to be set.

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.

Comments

SetImplTypeFlags sets the IMPLTYPE flags for the indexed interface. For more information, see the "IMPLTYPEFLAGS" section in Chapter 9, "Type Description Interfaces."