RM_FILTER_ACTION enumeration (restartmanager.h)

Specifies the type of modification that is applied to restart or shutdown actions.

Syntax

typedef enum _RM_FILTER_ACTION {
  RmInvalidFilterAction = 0,
  RmNoRestart = 1,
  RmNoShutdown
} RM_FILTER_ACTION;

Constants

 
RmInvalidFilterAction
Value: 0
An invalid filter action.
RmNoRestart
Value: 1
Prevents the restart of the specified application or service.
RmNoShutdown
Prevents the shut down and restart of the specified application or service.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header restartmanager.h

See also

RM_FILTER_INFO

RmAddFilter