Skip to main content
IWMProximityDetection interface

[IWMProximityDetection 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 IWMProximityDetection interface validates a playback device for receiving media data. The validation process confirms that the device is "near" enough on the network to receive media through the Windows Media DRM 10 for Network Devices protocol.

An IWMProximityDetection interface exists for every device registration object. You can obtain a pointer to this interface by calling the QueryInterface method of the IWMDeviceRegistration interface.


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


The IWMProximityDetection interface has these methods.


Initiates proximity detection.



The validation state is stored in the device registration database. You can check the validation state for a device by calling IWMRegisteredDevice::IsValid.

Validation expires after 48 hours.


Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

See also