"James Hawkins" <truiken(a)gmail.com> writes:
> @@ -2087,33 +2087,44 @@ static void test_getproperty(void)
>      ok( hPackage != 0, " Failed to create package\n");
>  
>      /* set the property */
> +    SetLastError(0xdeadbeef);
>      r = MsiSetProperty(hPackage, "Name", "Value");
>      ok( r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
> +    ok( GetLastError() == 0xdeadbeef, "Expected 0xdeadbeef, got %ld\n", GetLastError());
In general, testing that last error isn't set on success is not
useful, unless you really have an app that depends on it.
-- 
Alexandre Julliard
julliard(a)winehq.org