ICreateErrorInfo::SetHelpContext method (oaidl.h)
Sets the Help context identifier (ID) for the error.
Syntax
HRESULT SetHelpContext(
[in] DWORD dwHelpContext
);
Parameters
[in] dwHelpContext
The Help context ID for the error.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
Insufficient memory to complete the operation. |
Remarks
This method sets the Help context ID for the error. To establish the Help file to which it applies, use ICreateErrorInfo::SetHelpFile.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oaidl.h |