ICreateTypeInfo::SetFuncHelpContext

HRESULT SetFuncHelpContext(
  unsigned int  index,          
  unsigned long  dwHelpContext  
);
 

Sets the Help context ID for the function with the specified index.

Parameters

index
Index of the function.
dwHelpContext
Help context ID for the Help topic.

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_ACCESSDENIED Cannot write to the destination.
TYPE_E_ELEMENTNOTFOUND The element cannot be found.
E_INVALIDARG One or more of the arguments is invalid.

Comments

SetFuncHelpContext only needs to be set once for each property, because all property accessor functions are identified by one name.