Skip to main content
IWMDeviceRegistration interface

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


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


The IWMDeviceRegistration interface has these methods.


Retrieves information for the first device in the device registration database.


Retrieves information for the second and subsequent devices in the device registration database.


Retrieves information about a device specified by the device identifier.


Retrieves the number of devices of a specified type that exist in the device registration database.


Adds a device to the device registration database.


Removes a device from the device registration database.



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.


Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

See also