IWMPEvents4::SyncEstimationComplete method
[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The SyncEstimationComplete event occurs when a size estimation, previously initiated by IWMPSyncDevice3::estimateSyncSize, is complete.
Syntax
void SyncEstimationComplete(
[in] IWMPSyncDevice *pDevice,
[in] long hrResult,
[in] long lEstimatedUsedSpace,
[in] long lEstimatedSize
);
Parameters
-
pDevice [in]
-
Pointer to the IWMPSyncDevice interface that represents the device for which the size estimation was initiated.
-
hrResult [in]
-
A value that indicates the success or failure of the estimation.
Value Meaning - S_OK
The estimation succeeded. - E_ABORT
The estimation was aborted. -
lEstimatedUsedSpace [in]
-
The estimated space (in bytes) that would be used on the device.
-
lEstimatedSize [in]
-
The estimated size (in bytes) of the data to be synchronized.
Return value
This method does not return a value.