[PATCH 2/3] wininet: Use parent/child handle framework to track parent/child handle relationships.

Misha Koshelev mk144210 at bcm.edu
Fri Aug 31 20:48:17 CDT 2007


We have a lot of parent/child relationships in wininet that are addressed on an individual basis.
Now we can just address them within the framework since we need that framework for closing handles
too. The only thing I don't like is that we have to make lots of casts now, but it doesn't really make
much sense to me to store the "parent" object handle in two different places.
---
 dlls/wininet/dialogs.c  |    8 +++---
 dlls/wininet/ftp.c      |   62 +++++++++++++++++++----------------------------
 dlls/wininet/http.c     |   46 ++++++++++++++--------------------
 dlls/wininet/internet.c |    5 ++-
 dlls/wininet/internet.h |    7 -----
 5 files changed, 51 insertions(+), 77 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b15c9d28dccc4fc4ce3705d565fb3d33e0f791e6.diff
Type: text/x-patch
Size: 20477 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070831/0bace923/b15c9d28dccc4fc4ce3705d565fb3d33e0f791e6-0001.bin


More information about the wine-patches mailing list