Rémi Bernon (@rbernon) commented about server/winstation.c:
static struct desktop *create_desktop( const struct unicode_str *name, unsigned int attr, unsigned int flags, struct winstation *winstation ) {
- struct desktop *desktop;
- struct desktop *desktop, *current_desktop;
- if (flags & DF_WINE_ROOT_DESKTOP && flags & DF_WINE_VIRTUAL_DESKTOP)
- {
set_error( STATUS_INVALID_PARAMETER );
return NULL;
- }
I'm not sure we should bother about misusing the internal flags, they are only used in a single place.