ICreateTypeInfo2::SetVarHelpStringContext method (oaidl.h)

Sets a Help context value for a specified variable.

Syntax

HRESULT SetVarHelpStringContext(
  [in] UINT  index,
  [in] ULONG dwHelpStringContext
);

Parameters

[in] index

The index of the variable.

[in] dwHelpStringContext

The Help string context for a localized string.

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.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

ICreateTypeInfo2