http://bugs.winehq.org/show_bug.cgi?id=28008
--- Comment #22 from Bruno Jesus 00cpxxx@gmail.com 2011-09-18 11:50:09 CDT --- Maybe you need to set dwFlags, pvReserved and dwReserved = 0. See the link below.
http://webcache.googleusercontent.com/search?q=cache:dgVSLx_bDE8J:www.gdwg.n...
You're are already setting the GUID and the pwszName correctly as far as I can see.