- March 26, 2007
- 3,715
- 180
- Home Country
- 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.<br /> <br /> 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. <br /> <br /> 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).
Continue reading...
Continue reading...