Muokkaa

Jaa


EC_DEVICE_LOST

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

A Plug and Play device was removed or became available again.

Parameters

lParam1

(IUnknown*) Pointer to the IUnknown interface of the filter that represents the device.

lParam2

Zero if the device was removed, or 1 if the device is available again.

Default Action

None.

Remarks

When the device becomes available again, the previous state of the device filter is no longer valid. The application must rebuild the graph in order to use the device.

Requirements

Requirement Value
Header
Dshow.h

See also

Device Removal Notification

Event Notification Codes

Event Notification in DirectShow