ISyncChangeBatchBase::GetWorkEstimateForBatch method (winsync.h)
Gets the work estimate for the batch.
Syntax
HRESULT GetWorkEstimateForBatch(
[out] DWORD *pdwWorkForBatch
);
Parameters
[out] pdwWorkForBatch
Returns the work estimate for the batch. The default value is 0.
Return value
The possible return codes include, but are not limited to, the values shown in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
Invalid pointer. |
Remarks
The work estimate is determined by the provider and is typically understood as the total work for all changes in a single batch and as a portion of the total work estimated for the session.
This value is reported in the OnProgress event.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | winsync.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for