Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RM_WRITE_STATUS_CALLBACK
Collapse the table of content
Expand the table of content

RM_WRITE_STATUS_CALLBACK function pointer

The RM_WRITE_STATUS_CALLBACK function can be implemented by the user interface that controls the Restart Manager. The installer that started the Restart Manager session can pass a pointer to this function to the Restart Manager functions to receive a percentage of completeness. The percentage of completeness is strictly increasing and describes the current operation being performed and the name of the application being affected.

Syntax


typedef void ( *RM_WRITE_STATUS_CALLBACK)(
  _In_ UINT nPercentComplete
);

Parameters

nPercentComplete [in]

An integer value between 0 and 100 that indicates the percentage of the total number of applications that have either been shut down or restarted.

Return value

This function pointer does not return a value.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

RestartManager.h

See also

RmRestart
RmShutdown

 

 

Community Additions

ADD
Show:
© 2015 Microsoft