共用方式為


MMCN_COLUMN_CLICK message

The MMCN_COLUMN_CLICK notification message is sent to the snap-in's IComponent implementation when the user clicks a list view column header.

Parameters

lpDataObject

NULL.

arg

Column number.

param

Sort options:

RSI_DESCENDING = 0x0001

The sort should be in descending order. The default is to sort in ascending order.

Return value

S_OK

The snap-in successfully handled the notification.

S_FALSE

The snap-in does not handle the notification. MMC then performs a default operation for the notification.

Remarks

The snap-in should not perform a sort in response to this notification. MMC will initiate a sort after the notification is processed.

MMCN_COLUMN_CLICK does not receive the RSI_NOSORTICON sort option.

Requirements

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