ExpansionProvider.HandleQueryStatus(Guid, UInt32, Int32) Method

Definition

Determines if the specified command is handled by the ExpansionProvider class.

public:
 virtual bool HandleQueryStatus(Guid % guidCmdGroup, System::UInt32 nCmdId, [Runtime::InteropServices::Out] int % hr);
public virtual bool HandleQueryStatus (ref Guid guidCmdGroup, uint nCmdId, out int hr);
abstract member HandleQueryStatus : Guid * uint32 * int -> bool
override this.HandleQueryStatus : Guid * uint32 * int -> bool
Public Overridable Function HandleQueryStatus (ByRef guidCmdGroup As Guid, nCmdId As UInteger, ByRef hr As Integer) As Boolean

Parameters

guidCmdGroup
Guid

[in] The GUID of the command group.

nCmdId
UInt32

[in] The specific ID of the command from the command group. This identifies the command to execute.

hr
Int32

[out] Returns a combination of values from the OLECMD enumeration indicating support for the specified command.

Returns

If the command is supported by the ExpansionProvider class, returns true; otherwise, returns false.

Remarks

The base method always returns false, indicating it does not support any menu-based commands.

Applies to