Windows Media Player 11 SDK Updating Portable DevicesĀ
Previous | Next |
Updating Portable Devices
Windows Media Player enables users to synchronize digital media content with portable devices. This can include music content purchased or rented from an online store. Under some circumstances, online store providers might want to write code to work on a connected portable device as part of managing content provided by the store. To give the online store plug-in the opportunity to work with a connected device, Windows Media Player calls IWMPContentPartner::UpdateDevice and provides the canonical name of the portable device. If the plug-in code determines that some work must be done with the connected device, it must immediately return S_OK from the call to UpdateDevice before proceeding to do the work. If there is no work to do, the plug-in should return an error code.
When the plug-in has finished using the device, it must call IWMPContentPartnerCallback::UpdateDeviceComplete to notify Windows Media Player that the device is available.
See Also
Previous | Next |