http://bugs.winehq.org/show_bug.cgi?id=9484
--- Comment #47 from Austin Lund austin.lund@gmail.com 2011-06-15 01:00:26 CDT --- Great! It just seems to use the NtQuerySystemInformation call to get a full list of handles then calls NtQueryObject on them one by one. Not sure exactly what it's looking for.
Nevertheless, I think this will need a new wineserver call to get the handle values to work. Unless there is another way of doing it which is already in the source.