Alexandre Julliard (@julliard) commented about dlls/shell32/dde.c:
WCHAR *groups_data = heap_alloc(sizeof(WCHAR)); char *groups_dataA; HDDEDATA ret;
static WCHAR star[] = L"*"; groups_data[0] = 0;
programs = get_programs_path(L"*");
programs = get_programs_path(star, FALSE);
It's ugly to have to pass a non-const buffer that actually won't get modified. You should rethink your helper functions.