Редагувати

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


Restart Manager Functions

The Restart Manager API uses the functions identified in the following table.

Function Description
RmAddFilter Modifies shutdown or restart actions.
RmStartSession Starts a new Restart Manager session.
RmJoinSession Joins the process of an application to an existing Restart Manager session.
RmEndSession Ends the Restart Manager session.
RmRegisterResources Registers resources, such as filenames, service short names, or RM_UNIQUE_PROCESS structures, to a Restart Manager session.
RmGetList Used by installers to get a list of all applications affected by registered resources and their current status.
RmGetFilterList Queries the status of shutdown and restart modifications that have already been applied.
RmShutdown Initiates the shut down of applications and services.
RmRemoveFilter Removes shutdown and restart modifications that have already been applied.
RmRestart Restarts applications and services that have been shut down by the RmShutdown function and that have been registered for restart using RegisterApplicationRestart.
RmCancelCurrentTask Cancels the current RmGetList, RmShutdown, or RmRestart function.