The server calls this method to notify the client about the status of a Group Policy Management Console (GPMC) operation.
HRESULT Status( long lProgressNumerator, long lProgressDenominator, HRESULT hrStatus, VARIANT *pResult, IGPMStatusMsgCollection *ppIGPMStatusMsgCollection );
Numerator of a fraction that represents the percent of the GPMC operation that is complete.
Denominator of a fraction that represents the percent of the GPMC operation that is complete. The value of this parameter is proportional to the number of extensions in the Group Policy object (GPO), whether the GPO is a "live" GPO or a backed-up GPO. This value can be used to display the progress bar to the user.
In the GPMC user interface, the progress bar is divided into lProgressDenominator intervals. When lProgressNumerator==lProgressDenominator the operation is complete.
Status of the operation. If no error occurred, the value of the parameter is S_OK.
Result of the operation. This parameter is an interface pointer to the object that resulted from the GPMC operation. For example, it may be a pointer to a GPMGPO object or to a GPMBackup object. This object is only returned when the operation is complete.
A pointer to the IGPMStatusMsgCollection interface that contains detailed status information about the operation. In cases where there are no errors, or if there are no detailed messages, Status passes in a null collection.
This method has no return values.
This method must be implemented by the client.
|Windows version||Windows Vista Windows Server 2008|