home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Quality Assurance
Bugtracker Feed
0003471: HRESULT return codes from unmanaged methods are possibly being wrongly interpreted
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MediaPortal-Bot" data-source="post: 888245" data-attributes="member: 48617"><p>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).</p><p></p><p><a href="http://mantis.team-mediaportal.com/view.php?id=3471" target="_blank">Continue reading...</a></p></blockquote><p></p>
[QUOTE="MediaPortal-Bot, post: 888245, member: 48617"] 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). [url="http://mantis.team-mediaportal.com/view.php?id=3471"]Continue reading...[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Bugtracker Feed
0003471: HRESULT return codes from unmanaged methods are possibly being wrongly interpreted
Contact us
RSS
Top
Bottom