summaryrefslogtreecommitdiffstats
path: root/tests/testsuminfo.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-23 11:42:15 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-06 20:30:28 +0100
commit9ad11a6d7c458dbcd5784955ff2f8f5a4256a4fc (patch)
tree9e1843ea3d8410d027580a7a1208164dc661bdb3 /tests/testsuminfo.c
parent99336e77ba153c8cf1175951ff2239d6ce422c91 (diff)
downloadmsitools-9ad11a6d7c458dbcd5784955ff2f8f5a4256a4fc.tar.gz
msitools-9ad11a6d7c458dbcd5784955ff2f8f5a4256a4fc.tar.xz
msitools-9ad11a6d7c458dbcd5784955ff2f8f5a4256a4fc.zip
ok, things start to be readable
fix
Diffstat (limited to 'tests/testsuminfo.c')
-rw-r--r--tests/testsuminfo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/testsuminfo.c b/tests/testsuminfo.c
index a816735..01b3f4c 100644
--- a/tests/testsuminfo.c
+++ b/tests/testsuminfo.c
@@ -33,8 +33,8 @@ static const WCHAR msifileW[] = {
static void test_suminfo(void)
{
- MSIOBJECT *hdb = 0;
- MSIOBJECT *hsuminfo;
+ LibmsiObject *hdb = 0;
+ LibmsiObject *hsuminfo;
unsigned r, count, type;
unsigned sz;
int val;
@@ -44,7 +44,7 @@ static void test_suminfo(void)
DeleteFile(msifile);
/* just MsiOpenDatabase should not create a file */
- r = MsiOpenDatabase(msifile, MSIDBOPEN_CREATE, &hdb);
+ r = MsiOpenDatabase(msifile, LIBMSI_DB_OPEN_CREATE, &hdb);
ok(r == ERROR_SUCCESS, "MsiOpenDatabase failed\n");
r = MsiGetSummaryInformation(hdb, NULL, 0, NULL);
@@ -363,8 +363,8 @@ static void test_create_database_binary(void)
static void test_summary_binary(void)
{
- MSIOBJECT *hdb = 0;
- MSIOBJECT *hsuminfo = 0;
+ LibmsiObject *hdb = 0;
+ LibmsiObject *hsuminfo = 0;
unsigned r, type, count;
int ival;
unsigned sz;
@@ -377,7 +377,7 @@ static void test_summary_binary(void)
ok( INVALID_FILE_ATTRIBUTES != GetFileAttributes(msifile), "file doesn't exist!\n");
/* just MsiOpenDatabase should not create a file */
- r = MsiOpenDatabase(msifile, MSIDBOPEN_READONLY, &hdb);
+ r = MsiOpenDatabase(msifile, LIBMSI_DB_OPEN_READONLY, &hdb);
ok(r == ERROR_SUCCESS, "MsiOpenDatabase failed\n");
r = MsiGetSummaryInformation(hdb, NULL, 0, &hsuminfo);