Redigera

Dela via


IContextMenuCallback Interface

Definition

Adds menu items to a shortcut menu.

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

public interface class IContextMenuCallback
[System.Runtime.InteropServices.Guid("43136EB7-D36C-11CF-ADBC-00AA00A80033")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IContextMenuCallback
[<System.Runtime.InteropServices.Guid("43136EB7-D36C-11CF-ADBC-00AA00A80033")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IContextMenuCallback = interface
Public Interface IContextMenuCallback
Attributes

Remarks

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

Methods

AddItem(CONTEXTMENUITEM)

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

Adds a single item to a shortcut menu.

Applies to