What does HRESULT 0xC00D3EA2 (MF_E_VIDEO_RECORDING_DEVICE_INVALIDATED) mean?

 
Previous Next
MF_E_AUDIO_RECORDING_DEVICE_INVALIDATED MF_E_VIDEO_RECORDING_DEVICE_PREEMPTED

MF_E_VIDEO_RECORDING_DEVICE_INVALIDATED

MF_E_VIDEO_RECORDING_DEVICE_INVALIDATED belongs to capture-device lifetime handling. A Media Foundation video device is represented by an IMFMediaSource created from an activation object, and the device is identified by its capture symbolic link.

Correlate the HRESULT with device-removal information

  • Store MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_SYMBOLIC_LINK for the selected device. The friendly name is not a reliable unique identity.
  • Register for KSCATEGORY_CAPTURE device notifications and compare WM_DEVICECHANGE data with the symbolic link of the active camera.
  • Also capture Media Foundation events. MEVideoCaptureDeviceRemoved identifies removal, while preemption has a separate event and should not be collapsed into the same diagnosis.

Microsoft's device-loss guidance closes the capture device when the notification identifies the active symbolic link. That is materially different from retrying samples on the existing media source. For intermittent failures, log the symbolic link, device-change event, Media Foundation event type/status, and the exact stage at which capture stopped. A media-type change is not a substitute for recreating a device source whose hardware has been removed or made unavailable.

Microsoft: handling video device loss · Microsoft: Media Foundation events · Microsoft: enumerating video capture devices


Looking for a different code? Search another status or error code.