Muokkaa

Jaa


IExtendContextMenu Interface

Definition

Enables a snap-in to add items to an existing shortcut menu.

This API supports the product infrastructure and is not intended to be used directly from your code.

public interface class IExtendContextMenu
[System.Runtime.InteropServices.Guid("4F3B7A4F-CFAC-11CF-B8E3-00C04FD8D5B0")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IExtendContextMenu
[<System.Runtime.InteropServices.Guid("4F3B7A4F-CFAC-11CF-B8E3-00C04FD8D5B0")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IExtendContextMenu = interface
Public Interface IExtendContextMenu
Attributes

Remarks

For more information about programming with the IExtendContextMenu interface and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.

Methods

AddMenuItems(IDataObject, IContextMenuCallback, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code.

Enables a snap-in to add items to an existing shortcut menu.

Command(Int32, IDataObject)

This API supports the product infrastructure and is not intended to be used directly from your code.

The Microsoft Management Console (MMC) calls the Command method when one of the shortcut menu items that you added is selected.

Applies to