msi: MsiQueryProductState returns INSTALLSTATE, not UINT.

This commit is contained in:
James Hawkins 2007-11-05 04:43:52 -05:00 committed by Alexandre Julliard
parent b03082c397
commit 546bcef0bb
1 changed files with 3 additions and 2 deletions

View File

@ -106,12 +106,13 @@ static void test_null(void)
HKEY hkey;
DWORD dwType, cbData;
LPBYTE lpData = NULL;
INSTALLSTATE state;
r = pMsiOpenPackageExW(NULL, 0, &hpkg);
ok( r == ERROR_INVALID_PARAMETER,"wrong error\n");
r = MsiQueryProductStateW(NULL);
ok( r == INSTALLSTATE_INVALIDARG, "wrong return\n");
state = MsiQueryProductStateW(NULL);
ok( state == INSTALLSTATE_INVALIDARG, "wrong return\n");
r = MsiEnumFeaturesW(NULL,0,NULL,NULL);
ok( r == ERROR_INVALID_PARAMETER,"wrong error\n");