wininet #1: Use proc instead of enum in SENDCALLBACK request.

Jacek Caban jacek at codeweavers.com
Mon Dec 25 14:32:52 CST 2006


Currently we identify async requests by ASYNC_FUNC enum and all their 
code is in a one long switch. The following series of patches (#1 to 
#17) gets rid of this enum and switch and changes code to pass the 
address of the proc implementing the request. This way the code is 
cleaner and better factorized.
---
   dlls/wininet/internet.c |   19 ++++---------------
   dlls/wininet/internet.h |    3 ++-
   dlls/wininet/utility.c  |   15 ++++++++++++++-
   3 files changed, 20 insertions(+), 17 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2a6c15a1d5af3fc7cddaba3222dcf34a7a5c776a.diff
Type: text/x-patch
Size: 3096 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061225/601b9f91/2a6c15a1d5af3fc7cddaba3222dcf34a7a5c776a.bin


More information about the wine-patches mailing list