helpcontext

[uuid, helpcontext(helpcontext-value)[,attribute-list]] statement | directive statement-name definitions}

Example

[uuid(. . .),helpcontext(7035943), helpstring("Hello Class"),appobject] coclass Hello
    { [default, helpcontext(3914972)]    interface IHello : IUnknown;

                        interface IDispatch;

    }

 

Remarks

The helpcontext attribute specifies a context ID that lets the user view information about this element in the Help file. This attribute can be applied to the following elements: library, importlib, interface, dispinterface, module, typedef, method, property, coclass.

The helpcontext-value is a 32-bit context identifier within the Help file that can be retrieved with the GetDocumentation functions in the ITypeLib and ITypeInfo interfaces.

See Also

ODL File Syntax, ODL File Example, Generating a Type Library With MIDL