Partager via


MMCN_CANPASTE_OUTOFPROC message

The MMCN_CANPASTE_OUTOFPROC notification message is sent to the snap-in so that MMC can determine whether the snap-in supports paste operations from another MMC process. This notification message is introduced in MMC 2.0.

Parameters

lpDataObject

Not used.

arg

Not used.

param

A pointer to a BOOL type; the snap-in sets *param to TRUE if it handles data objects from other MMC processes.

Return value

S_OK

The snap-in accepts data objects from other MMC processes (note the snap-in must also set *param to TRUE).

S_FALSE

The snap-in does not accept data objects from other MMC processes.

Remarks

If the snap-in indicates that it can accept data objects from other MMC processes, it will receive MMCN_QUERY_PASTE notifications that correspond to those data objects (provided the user attempts to paste from another MMC process).

Requirements

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

See also

MMCN_QUERY_PASTE

Inter-process Drag and Drop