Επεξεργασία

Κοινή χρήση μέσω


Backup Restorer Object

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The backup restorer provides interfaces to handle backing up licenses, typically onto removable media, and then restoring those licenses onto a new computer.

The backup restorer object is created by the WMCreateBackupRestorer function, which sets a pointer to an IWMLicenseBackup interface. The other interfaces of the backup restorer object can be obtained by calling the QueryInterface method.

The following interfaces are supported by the backup restorer object.

Interface Description
IWMBackupRestoreProps Sets and retrieves properties required by the IWMLicenseBackup and IWMLicenseRestore interfaces.
IWMLicenseBackup Backs up licenses, typically so that they can be restored onto another computer.
IWMLicenseRestore Restores licenses.

 

The following callback interface must be implemented by the application in order to use the backup restorer object.

Interface Description
IWMStatusCallback Receives status messages from processes that execute in a separate thread.

 

Backing Up and Restoring Licenses

Objects