[PATCH 06/10] devenum: Move locating category key to function, use it ParseDisplayName.

Alexander Dorofeyev alexd4 at inbox.lv
Sun Jun 29 07:07:32 CDT 2008


This function also will be used in legacy filter (re)registration added in next 
patch.

Using this function in ParseDisplayName instead of CreateClassEnumerator for a 
single purpose of finding needed registry key also prevents a circular recursion 
in the code added in next patch (ICreateDevEnum_CreateClassEnumerator - 
registration subroutine - IFilterMapper2_RegisterFilter - 
IParseDisplayName_ParseDisplayName - again ICreateDevEnum_CreateClassEnumerator).
---
  dlls/devenum/createdevenum.c    |   58 +++++++++++++++++++++++----------------
  dlls/devenum/devenum_private.h  |    5 +++
  dlls/devenum/parsedisplayname.c |   18 +++++-------
  3 files changed, 47 insertions(+), 34 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 117e244a6551930a425c9cb0c966d1ddb41099e2.diff
Type: text/x-patch
Size: 6396 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080629/4b4b60f4/attachment.bin 


More information about the wine-patches mailing list