ISnapinProperties::PropertiesChanged method (mmcobj.h)

The PropertiesChanged method is called when a property is added, changed, or deleted. A snap-in can reject the change or deletion by returning E_FAIL.

Syntax

HRESULT PropertiesChanged(
  [in] long                cProperties,
  [in] MMC_SNAPIN_PROPERTY *pProperties
);

Parameters

[in] cProperties

The number of MMC_SNAPIN_PROPERTY structures provided by pProperties.

[in] pProperties

An array of MMC_SNAPIN_PROPERTY structures.

Return value

If successful, the return value is S_OK; a snap-in can prevent a change or deletion from occurring by returning E_FAIL.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmcobj.h

See also

MMC_PROPERTY_ACTION

MMC_SNAPIN_PROPERTY