http://bugs.winehq.org/show_bug.cgi?id=32327
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2012-11-29 13:43:04 CST --- Created attachment 42672 --> http://bugs.winehq.org/attachment.cgi?id=42672 +advapi,+tid log with patch
Yes, it works with this hack. I think it's not that hard to implement service case with QueryServiceObjectSecurity/SetServiceObjectSecurity. So Get/SetSecurityInfo needs to handle service handles (they are not accessible with NtSetSecurityObject(), at least not in wine) and *Named* calls need to use service api for service objects instead of NtCreateFile().