getuname: add stub implementation [try 2]

Alexandre Julliard julliard at winehq.org
Wed May 31 07:47:19 CDT 2006


Vitaly Lipatov <lav at etersoft.ru> writes:

> +/***********************************************************************
> + *             GetUName [ 2000 / XP ]
> + *
> + * undocumented fn: GetUName()
> + * The information is not available by API. The thing MS did 
> + * here -- parsing the data from nameslist.txt in the Unicode Character 
> + * Database (UCD).
> + * See
> + *  http://groups.google.com/groups?hl=en&threadm=ODVecQBoBHA.2416%40tkmsftngp02
> + * RETURNS
> + *  unknown
> + */
> +void WINAPI GetUName(void)
> +{
> +	FIXME("stub\n");
> +}

If you don't know the parameters you should leave the function as stub
in the spec file, at least this way it will crash cleanly. Also you
have to make the dll handle the PREATTACH value to prevent it from
getting loaded if native is present. Look at how other stub dlls are
doing it.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list