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)
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");
......
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