[PATCH 2/2] secur32/tests: Add AcquireCredentialsHandleW tests

Hans Leidekker hans at codeweavers.com
Thu May 26 03:47:18 CDT 2016


On Thu, 2016-05-26 at 08:07 +0000, Alistair Leslie-Hughes wrote:
> +    /* Test using the ASCI Structure. */
> +    idA.User = (unsigned char*) test_user;
> +    idA.UserLength = strlen((char *) id.User);
> +    idA.Domain = (unsigned char *) workgroup;
> +    idA.DomainLength = strlen((char *) id.Domain);
> +    idA.Password = (unsigned char*) test_pass;
> +    idA.PasswordLength = strlen((char *) id.Password);
> +    idA.Flags = SEC_WINNT_AUTH_IDENTITY_ANSI;

id.User, id.Domain and id.Password are Unicode strings.





More information about the wine-devel mailing list