regsvr32: Replace strcasecmp() with calls to the is_flag function

Hugh McMaster hugh.mcmaster at
Fri May 16 07:10:15 CDT 2014

This patch replaces calls to strcasecmp with calls to a new function called is_flag. The is_flag function calls "CompareStringA(...) == CSTR_EQUAL" on return, resulting in a BOOL.

This patch will make a forthcoming conversion to Unicode far cleaner and simpler.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regsvr32-add-is-flag-function.patch
Type: application/octet-stream
Size: 2012 bytes
Desc: regsvr32-add-is-flag-function.patch
URL: <>

More information about the wine-patches mailing list