Поделиться через


MMCN_RENAME message

The MMCN_RENAME notification message is sent to either the snap-in's IComponentData or IComponent implementation depending on the type of item (scope or result) that must be renamed.

Parameters

lpDataObject

A pointer to the data object of the scope or result item to be renamed.

arg

Not used.

param

The new name. The following line of code shows how the parameter can be used:

LPOLESTR pszNewName = (LPOLESTR)param;

Return value

S_OK

To allow the rename.

S_FALSE

To disallow the rename.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Mmc.h