msi: Fix the character count passed into RegSetValueExA in test_MsiQueryFeatureState.

This commit is contained in:
Rob Shearman 2008-02-16 15:36:40 +00:00 committed by Alexandre Julliard
parent 4131edbdbe
commit 85fbdfcc9e
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@ static void test_MsiQueryFeatureState(void)
state = MsiQueryFeatureStateA(prodcode, "feature");
ok(state == INSTALLSTATE_UNKNOWN, "Expected INSTALLSTATE_UNKNOWN, got %d\n", state);
res = RegSetValueExA(userkey, "feature", 0, REG_SZ, (const BYTE *)"", 8);
res = RegSetValueExA(userkey, "feature", 0, REG_SZ, (const BYTE *)"", 2);
ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res);
state = MsiQueryFeatureStateA(prodcode, "feature");