Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IConsole2::QueryConsoleVerb method

The IConsole2::QueryConsoleVerb method queries for the IConsoleVerb interface.

Syntax


HRESULT QueryConsoleVerb(
  [out] LPCONSOLEVERB *ppConsoleVerb
);

Parameters

ppConsoleVerb [out]

A pointer to the address of a variable that receives the IConsoleVerb interface pointer.

Return value

This method can return one of these values.

S_OK

The interface was successfully returned.

E_UNEXPECTED

An unexpected error occurred.

E_INVALIDARG

The parameter is invalid. This may indicate a NULL pointer.

Remarks

This method should be called from an IConsole2 interface pointer obtained through the IComponent interface.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

DLL

Mmcndmgr.dll

See also

IConsole3
IConsole2
IConsoleVerb

 

 

Show: