Compartir a través de


Método IComponentData::Notify (mmc.h)

El método IComponentData::Notify notifica al complemento las acciones realizadas por el usuario.

Sintaxis

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

Parámetros

[in] lpDataObject

Puntero al objeto de datos del elemento seleccionado actualmente.

[in] event

Identifica una acción realizada por un usuario. IComponentData::Notify puede recibir las siguientes notificaciones:

MMCN_BTN_CLICK

MMCN_DELETE

MMCN_EXPAND

MMCN_EXPANDSYNC

MMCN_PRELOAD

MMCN_PROPERTY_CHANGE

MMCN_REMOVE_CHILDREN

MMCN_RENAME

[in] arg

Depende del tipo de notificación.

[in] param

Depende del tipo de notificación.

Valor devuelto

Este método puede devolver uno de estos valores.

Comentarios

Para obtener más información, consulte las notificaciones individuales. El complemento debe devolver S_FALSE para cualquier notificación que no controle.

Requisitos

Requisito Value
Cliente mínimo compatible Windows Vista
Servidor mínimo compatible Windows Server 2008
Plataforma de destino Windows
Encabezado mmc.h

Consulte también

IComponent

IComponentData

IConsole2