次の方法で共有


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

The IWMRegisteredDevice interface is the primary interface of the registered device object. It provides access to information about a playback device in the device registration database.

Inheritance

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

Methods

The IWMRegisteredDevice interface has these methods.

 
IWMRegisteredDevice::Approve

The Approve method sets the approval state of the device for receiving media data.
IWMRegisteredDevice::Close

The Close method closes the device, if it is open. It also releases all resources associated with the device.
IWMRegisteredDevice::GetAttributeByIndex

The GetAttributeByIndex method retrieves an attribute associated with the device. This method uses the attribute index to specify the attribute to retrieve.
IWMRegisteredDevice::GetAttributeByName

The GetAttributeByName method retrieves an attribute associated with the device. This method uses an attribute name to specify the attribute to retrieve.
IWMRegisteredDevice::GetAttributeCount

The GetAttributeCount method retrieves the total number of attributes associated with the device.
IWMRegisteredDevice::GetDeviceCertificate

The GetDeviceCertificate method retrieves the certificate of the device.
IWMRegisteredDevice::GetDeviceSerialNumber

The GetDeviceID method retrieves the 128-bit value that identifies the device.
IWMRegisteredDevice::GetDeviceType

The GetDeviceType method retrieves the device type associated with the device.
IWMRegisteredDevice::IsApproved

The IsApproved method retrieves the approval status of the device. Approved devices are able to receive and play media data.
IWMRegisteredDevice::IsOpened

The IsOpened method retrieves the open status of the device. An open device is ready to receive media data.
IWMRegisteredDevice::IsValid

The IsValid method retrieves the validation status of the device.
IWMRegisteredDevice::IsWmdrmCompliant

The IsWmdrmCompliant method retrieves the DRM compliance status of the device. Compliant devices can receive data using the Windows Media DRM 10 for Network Devices protocol.
IWMRegisteredDevice::Open

The Open method opens the device so that it can receive media data.
IWMRegisteredDevice::SetAttributeByName

The SetAttributeByName method sets a device attribute.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

IWMDeviceRegistration Interface

Interfaces