Search code examples
c++visual-c++comreturn-valuems-media-foundation

How to decipher the hr return value "-1072875847" returned by a COM function?


I am using VC++. the hr return value returned by a COM function is "-1072875847". Can anyone kindly let me know how to decipher the hr values to their actual meaning. specifically What does "-1072875847" stand for ?

Thank in advance.


Solution

  • The codes are HRESULT values and are better read in hex. This one is 0xC00D36B9, which is Media Foundation Error "An object ran out of media types to suggest therefore the requested chain of streaming objects cannot be completed." (MF_E_NO_MORE_TYPES).