IWMDeviceRegistration interface (wmsdkidl.h)

[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.]

[IWMDeviceRegistration is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use Microsoft PlayReady. ]

The IWMDeviceRegistration interface registers playback devices for secure data delivery.

You can create a device registration object and retrieve a pointer to its IWMDeviceRegistration interface by calling the WMCreateDeviceRegistration function.

Inheritance

The IWMDeviceRegistration interface inherits from the IUnknown interface. IWMDeviceRegistration also has these types of members:

Methods

The IWMDeviceRegistration interface has these methods.

 
IWMDeviceRegistration::GetFirstRegisteredDevice

The GetFirstRegisteredDevice method retrieves information about the first device of a specified type that is in the device registration database.
IWMDeviceRegistration::GetNextRegisteredDevice

The GetNextRegisteredDevice method enumerates the registered devices of a specified type.
IWMDeviceRegistration::GetRegisteredDeviceByID

The GetRegisteredDeviceByID method retrieves information about a registered device by the device identifier.
IWMDeviceRegistration::GetRegistrationStats

The GetRegistrationStats method retrieves the number of devices in the device registration database that have a specified type.
IWMDeviceRegistration::RegisterDevice

The RegisterDevice method adds a device to the device list.
IWMDeviceRegistration::UnregisterDevice

The UnregisterDevice method removes a device from the device registration database.

Remarks

The primary purpose of the device registration database is to store data about connected devices that can receive streaming media encoded for the Windows Media DRM 10 for Network Devices protocol. You can enter other devices in the database if desired.

The device registration database is a secure database on the client computer. All interactions with the database are managed internally; your application does not have direct access to it.

The same device registration database is used by all applications.

Devices in the database are registered by type. Devices that support Windows Media DRM 10 for Network Devices use the DRM_DEVICE_REGISTER_TYPE_STREAMING register type. Other types may be supported in future versions.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header wmsdkidl.h

See also

Interfaces