次の方法で共有


IErrorInfo::GetHelpContext (Compact 2013)

3/26/2014

This method returns the Help context identifier for the error.

Syntax

HRESULT GetHelpContext( 
  DWORD* pdwHelpContext 
);

Parameters

  • pdwHelpContext
    [out] Pointer to the Help context identifier for the error.

Return Value

If the method succeeds, the return value is S_OK.

Remarks

GetHelpContext returns the Help context identifier for the error. To find the Help file to which it applies, use IErrorInfo::GetHelpFile.

Requirements

Header

oaidl.h,
oaidl.idl

Library

oleaut32.lib,
uuid.lib

See Also

Reference

IErrorInfo
IErrorInfo::GetHelpFile