NetUserGetInfo and unsupported levels

James Hawkins truiken at
Sun Apr 23 16:47:34 CDT 2006

On 4/23/06, Aidan Thornton <makomk at> wrote:
> Hi,
> Is there any particular reason why NetUserGetInfo returns success if
> it's called with a valid but unsupported value for level? This seems to
> cause problems for at least MSYS (part of MinGW), as it assumes this
> means that *bufptr has been set to something valid, when in fact the
> function call hasn't done this, or indeed anything much. (See bug #4488.)

Most stub API in wine return TRUE/success, because many apps just
check that the function succeeds and might not depend on the actual
outcome of the API.

James Hawkins

More information about the wine-devel mailing list