WSCEnumProtocols

Hans Leidekker hans at it.vu.nl
Sun Oct 31 08:26:32 CST 2004


Here's a reworked patch that doesn't try to cleverly handle arrays of
WSAPROTOCOL_INFOA and W structures within the same function. Instead it
duplicates some code in separate handlers for A and W. 

So I'm still being lazy because a proper AW conversion would rid us of
the code duplication but at least it's correct now, as shown by the
tests I added.

 -Hans

Changelog:
  fill WSAPROTOCOL_INFO structures instead of PROTOCOL_INFO structures.
  implement WSCEnumProtocols().
  add some tests.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winsock_protocol_c_03.diff
Type: text/x-diff
Size: 26268 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041031/1d2a804b/winsock_protocol_c_03.bin


More information about the wine-patches mailing list