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.)
Aidan Thornton