user32: Implement BroadcastSystemMessage, try 5.1

Alexandre Julliard julliard at winehq.org
Mon Mar 24 15:17:21 CDT 2008


"Maarten Lankhorst" <m.b.lankhorst at gmail.com> writes:

> +    TRACE("Flags: %08x, recipients: %p(0x%x), msg: %04x, wparam: %08lx, lparam: %08lx\n", flags, recipients,
> +         (recipients ? *recipients : recips), msg, wp, lp);
> +
> +    if (flags > BSF_LUID)

It doesn't make sense to compare flags with >. What are you trying to
check for?

> -}
> +    else
> +        FIXME("Recipients %08x not supported!\n", *recipients);
> +
> +    if (ret > 0 && !GetLastError())
> +        SetLastError(lasterror);

In general if you have to save and restore last error you are doing
something wrong.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list