ICreateTypeInfo::SetVarHelpContext

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

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

Parameters

index
Index of the variable described by the type description.
dwHelpContext
Handle to the Help context ID for the Help topic on the variable.

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.