"Detlef Riekenberg" <wine.dev(a)web.de> wrote:
Changelog: Partial Implementation of shell32/SHHelpShortcuts_RunDLL Connect and Disconnect: Forwarded to mpr.dll AddPrinter: Forwarded to printui.dll
+static int shrundll_compare(const void *p1, const void *p2) +{ + struct shrundll_entry *e1 = (struct shrundll_entry *) p1; + struct shrundll_entry *e2 = (struct shrundll_entry *) p2; + +/* + TRACE("(%p:%p (%ld:%ld) %s:%s)\n",e1, e2, (e1 == NULL) ? 0 : e1->my_id, (e2 == NULL) ? 0 : e2->my_id, debugstr_w((e1 == NULL) ? NULL : e1->name), debugstr_w((e2 == NULL) ? NULL : e2->name)); +*/ + + if((e1 == NULL) | (e2 == NULL)) + { + return -1; + } + + return StrCmpW(e1->name, e2->name);
I strongly suspect that this comparison should be case insensitive. -- Dmitry.