http://bugs.winehq.org/show_bug.cgi?id=28008
--- Comment #21 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2011-09-17 18:10:11 CDT --- (In reply to comment #20)
I have revised the function documentation and tests and I think you're missing a NULL check for the OUT parameters, the function must return DPNERR_INVALIDPARAM in this case (need tests to prove this).
After reading the doc I can see my last comment about setting pcbEnumData is wrong, it must not be changed if the function returns success.
Bibliography: http://webcache.googleusercontent.com/search?q=cache:QvverbWTUq0J:www.gdwg.n...
Hi Bruno, i think i can add the tests for NULL check later on, if real apps crash into this. However, i'm still stuck how to correctly fill the pSPInfoBuffer structure with the data (tcp/ip provider name and guid)