What does HRESULT 0xC00DABEA (MF_E_CAPTURE_PROPERTY_SET_DURING_PHOTO) mean?

 
Previous Next
MF_E_CAPTURE_SOURCE_DEVICE_EXTENDEDPROP_OP_IN_PROGRESS MF_E_CAPTURE_NO_SAMPLES_IN_QUEUE

MF_E_CAPTURE_PROPERTY_SET_DURING_PHOTO

MF_E_CAPTURE_PROPERTY_SET_DURING_PHOTO is a temporal conflict between camera control and still-image capture. The property cannot be changed while a photo or photo sequence is active.

Bracket property updates around photo completion

Record when the application submits IMFCaptureEngine::TakePhoto and when it receives the corresponding MF_CAPTURE_ENGINE_PHOTO_TAKEN event. Treat the interval as a pending photo operation even though TakePhoto itself returned S_OK.

Queue exposure, focus, white-balance, or other device property changes until the photo completion event has been processed. The Microsoft CaptureEngine sample explicitly tracks a pending-photo flag, illustrating the asynchronous state boundary. A fixed sleep is not a safe replacement for the completion event because capture latency depends on the device and active pipeline. If the property must define the photo, set and complete it before starting capture; if it belongs to the next shot, apply it after the current photo finishes.

Microsoft: asynchronous TakePhoto contract · Microsoft: Capture Engine · Microsoft sample pending-photo state


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