http://bugs.winehq.org/show_bug.cgi?id=32327
--- Comment #6 from Erich Hoover ehoover@mines.edu 2012-11-30 00:47:13 CST --- (In reply to comment #5)
(In reply to comment #4)
Created attachment 42675 [details] Support service objects in GetNamedSecurityInfo [v2]
Whoops, old version didn't include everything.
You need to call public service api instead of using these implementation details. I'll test it later today.
The public service API doesn't return the status code, it sets the last error and just returns success or failure. Alexandre didn't seem a fan of hard coding errors like that with CreateFile vs NtCreateFile, though NtCreateFile is "more" public - so that might be different.