{"id":4135,"date":"2017-01-29T01:27:26","date_gmt":"2017-01-29T01:27:26","guid":{"rendered":"http:\/\/www.hexacorn.com\/blog\/?p=4135"},"modified":"2017-01-29T01:27:26","modified_gmt":"2017-01-29T01:27:26","slug":"beyond-good-ol-run-key-part-59","status":"publish","type":"post","link":"https:\/\/www.hexacorn.com\/blog\/2017\/01\/29\/beyond-good-ol-run-key-part-59\/","title":{"rendered":"Beyond good ol\u2019 Run key, Part 59"},"content":{"rendered":"<p>In my last post I talked about Bluetooth. I have a mixed luck testing anything related to this technology&#8230;<\/p>\n<p>You see, there is that one more potential persistence mechanism associated with Bluetooth which I was unable to test successfully. Despite my efforts it didn&#8217;t work, but this is probably because I don&#8217;t have a proper set up. Perhaps people owning a laptop with the Windows 8 on it (and not Windows 8.1 or newer) could give it a go&#8230; It is another documented feature of Windows, so it should work.<\/p>\n<p>So&#8230; there is a thing called &#8216;Bluetooth Software Radio Switch Function Prototypes&#8217; described on the Microsoft page <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/hardware\/hh450832(v=vs.85).aspx\">here<\/a>.<\/p>\n<p>Adding the entry<\/p>\n<ul>\n<li>\n<pre>HKLM\\SYSTEM\\CurrentControlSet\\Services\\\r\n\r\nBTHPORT\\Parameters\\Radio Support\\\r\n\r\nSupportDLL = Path to DLL<\/pre>\n<\/li>\n<\/ul>\n<p>should allow vendors to register a DLL that will handle requests to Bluetooth radio to switch it on or off.<\/p>\n<p>The Microsoft page provides a link to <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/hardware\/hh450831(v=vs.85).aspx\">another page<\/a> that is describing the sample source code demonstrating to programmers how to build your own supporting DLL. The funny thing is that the demo code uses a different key (BthServ instead of BTHPORT service) than the previous page, and a Unicode path instead of an ANSI path provided in the documentation. Searching for strings within c:\\windows directory I could find references to BTHPORT\\Parameters\\Radio Support and not BthServ\\Parameters\\Radio Support so the documentation is probably okay, and the demo is not.<\/p>\n<p>Well, in any case. It should work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my last post I talked about Bluetooth. I have a mixed luck testing anything related to this technology&#8230; You see, there is that one more potential persistence mechanism associated with Bluetooth which I was unable to test successfully. Despite &hellip; <a href=\"https:\/\/www.hexacorn.com\/blog\/2017\/01\/29\/beyond-good-ol-run-key-part-59\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,35,15,19,46,9],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/4135"}],"collection":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/comments?post=4135"}],"version-history":[{"count":1,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/4135\/revisions"}],"predecessor-version":[{"id":4136,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/4135\/revisions\/4136"}],"wp:attachment":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/media?parent=4135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/categories?post=4135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/tags?post=4135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}