Condividi tramite


Metodo IComponent::Notify (mmc.h)

Il metodo IComponent::Notify notifica lo snap-in delle azioni eseguite dall'utente.

Sintassi

HRESULT Notify(
  [in] LPDATAOBJECT    lpDataObject,
  [in] MMC_NOTIFY_TYPE event,
       LPARAM          arg,
       LPARAM          param
);

Parametri

[in] lpDataObject

Puntatore all'oggetto dati dell'elemento attualmente selezionato.

[in] event

Identifica un'azione eseguita da un utente. IComponent::Notify può ricevere le notifiche seguenti:

MMCN_ACTIVATE

MMCN_ADD_IMAGES

MMCN_BTN_CLICK

MMCN_COLUMN_CLICK

MMCN_COLUMNS_CHANGED

MMCN_CONTEXTHELP

MMCN_DBLCLICK

MMCN_DELETE

MMCN_DESELECT_ALL

MMCN_FILTERBTN_CLICK

MMCN_FILTER_CHANGE

MMCN_INITOCX

MMCN_LISTPAD

MMCN_MINIMIZED

MMCN_PASTE

MMCN_PRINT

MMCN_PROPERTY_CHANGE

MMCN_QUERY_PASTE

MMCN_REFRESH

MMCN_RENAME

MMCN_RESTORE_VIEW

MMCN_SELECT

MMCN_SHOW

MMCN_SNAPINHELP

MMCN_VIEW_CHANGE

arg

Dipende dal tipo di notifica.

param

Dipende dal tipo di notifica.

Valore restituito

Questo metodo può restituire uno di questi valori.

Commenti

Per altre informazioni, vedere le singole notifiche. Lo snap-in deve restituire S_FALSE per qualsiasi notifica che non gestisce.

Requisiti

Requisito Valore
Client minimo supportato Windows Vista
Server minimo supportato Windows Server 2008
Piattaforma di destinazione Windows
Intestazione mmc.h

Vedi anche

IComponent

IComponentData

IConsole2

IExtendControlbar::ControlbarNotify