| Previous | Next |
| TPC_E_INVALID_CONFIGURATION | TPC_E_INVALID_DATA_FROM_RECOGNIZER |
VFW_E_NO_ADVISE_SET
Meaning
Windows documents VFW_E_NO_ADVISE_SET as “This Advise cannot be canceled because it was not successfully set”. In practical terms, it is returned when code attempts to cancel an overlay advise relationship that was never successfully established.
Likely causes
- Possible cause 1: the original Advise call failed but cleanup still calls unadvise.
- Possible cause 2: the link was already cleared during disconnect.
- Possible cause 3: a stale owner assumes another graph generation has the same advise state.
Evidence to collect
- Capture 1: result and token from the original Advise call.
- Capture 2: overlay connection generation.
- Capture 3: all clear, disconnect and teardown calls.
Correct handling and retry
- Corrective action 1: record advise success explicitly before canceling.
- Corrective action 2: make teardown tolerate an absent link.
- Corrective action 3: do not carry advise state across renderer reconnection.
Retry guidance. Do not retry cancellation until a new advise link has been established.
Difference from nearby HRESULTs
VFW_E_ALREADY_CANCELLED concerns a queued command canceled twice; it concerns an overlay advise link that was never active.
Practical scenario
An initialization error skips overlay Advise but the destructor unconditionally cancels it; tracking successful setup prevents it.
Official Microsoft references
Looking for a different code? Search another status or error code.
