Commit 546bcef0 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: MsiQueryProductState returns INSTALLSTATE, not UINT.

parent b03082c3
...@@ -106,12 +106,13 @@ static void test_null(void) ...@@ -106,12 +106,13 @@ static void test_null(void)
HKEY hkey; HKEY hkey;
DWORD dwType, cbData; DWORD dwType, cbData;
LPBYTE lpData = NULL; LPBYTE lpData = NULL;
INSTALLSTATE state;
r = pMsiOpenPackageExW(NULL, 0, &hpkg); r = pMsiOpenPackageExW(NULL, 0, &hpkg);
ok( r == ERROR_INVALID_PARAMETER,"wrong error\n"); ok( r == ERROR_INVALID_PARAMETER,"wrong error\n");
r = MsiQueryProductStateW(NULL); state = MsiQueryProductStateW(NULL);
ok( r == INSTALLSTATE_INVALIDARG, "wrong return\n"); ok( state == INSTALLSTATE_INVALIDARG, "wrong return\n");
r = MsiEnumFeaturesW(NULL,0,NULL,NULL); r = MsiEnumFeaturesW(NULL,0,NULL,NULL);
ok( r == ERROR_INVALID_PARAMETER,"wrong error\n"); ok( r == ERROR_INVALID_PARAMETER,"wrong error\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment