IHelp.GetHelpInfo Method

Gets information about the context of the help request.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣言
Function GetHelpInfo ( _
    <OutAttribute> ByRef pdwHelpInfo As UInteger _
) As Integer
'使用
Dim instance As IHelp
Dim pdwHelpInfo As UInteger
Dim returnValue As Integer

returnValue = instance.GetHelpInfo(pdwHelpInfo)
int GetHelpInfo(
    out uint pdwHelpInfo
)
int GetHelpInfo(
    [OutAttribute] unsigned int% pdwHelpInfo
)
function GetHelpInfo(
    pdwHelpInfo : uint
) : int

Parameters

  • pdwHelpInfo
    Type: System.UInt32%

    [out] A set of bit flags. Most commonly used to indicate whether or not "What's This" Help mode is active.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From objtext.idl:

HRESULT IHelp::GetHelpInfo(
   [out] DWORD* pdwHelpInfo
);

Usage

To test for "What's This" Help mode, bit-and the parameter set by GetHelpInfo with the constant HELPINFO_WHATS_THIS_MODE_ON.

Permissions

See Also

Reference

IHelp Interface

IHelp Members

Microsoft.VisualStudio.Shell.Interop Namespace