0003471: HRESULT return codes from unmanaged methods are possibly being wrongly inter (1 Viewer)

MediaPortal-Bot

Worlds greatest bot!
March 26, 2007
3,715
180
Home Country
Germany Germany
We need to check calls to unmanaged methods in both TVServer and MediaPortal to make sure that the return HRESULT is correctly interpreted for that function.

Some methods are only checking for S_OK (0x0) and throwing an error for anything else. For example, S_FALSE (0x1) is an alternative success code and is returned by Terratec drivers when trying to tune to a transponder that is already tuned.

Technically any positive HRESULT is a success code (with a possible warning code attached). Each method really needs to be checked against relavent specifications to make sure that the return code is handled correctly (especially calls that are driver specific).

http://mantis.team-mediaportal.com/view.php?id=3471

Open the issue in Mantis...
 

Users who are viewing this thread

Top Bottom