advapi32: Add tests for getting the groups, user and privileges of a token.

Saulius Krasuckas saulius2 at
Sat May 20 14:34:54 CDT 2006

* On Sat, 13 May 2006, Robert Shearman wrote:
> +static void test_token_attr(void)
> +{
> +    LPTSTR SidString;
> +        ConvertSidToStringSid(Groups->Groups[i].Sid, &SidString);

This makes advapi32_test.exe to not load on w9x.  The missing import is 
advapi32!ConvertSidToStringSidA.  As I want to get this fixed I am trying 
to understand what version (A or W) should this call be converted to.  
But after noticing LPTSTR I am lost :)

Is the use of LPTSTR intended to be here?  I find only three files of 
winetest code this type is used in:


Why? Is it OK, at least?

More information about the wine-devel mailing list