diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-23 12:49:25 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-06 20:30:30 +0100 |
| commit | c87cdd87005f65bc458a3d6167aa7e2a73ed47b5 (patch) | |
| tree | 6f44473fa7cb4126e7633e69e4647c8590d62cc7 /tests/testdatabase.c | |
| parent | 110f65204388339e16f739afc24ddbb2826f0b71 (diff) | |
make MsiOpenDatabase ASCII only
Removes DeleteFile, LPCTSTR, GetCurrentDirectoryW.
Diffstat (limited to 'tests/testdatabase.c')
| -rw-r--r-- | tests/testdatabase.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testdatabase.c b/tests/testdatabase.c index e976f4f..68bd396 100644 --- a/tests/testdatabase.c +++ b/tests/testdatabase.c @@ -2132,7 +2132,7 @@ static void test_suminfo_import(void) GetCurrentDirectoryA(MAX_PATH, CURR_DIR); - r = MsiOpenDatabaseA(msifile, LIBMSI_DB_OPEN_CREATE, &hdb); + r = MsiOpenDatabase(msifile, LIBMSI_DB_OPEN_CREATE, &hdb); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", r); r = add_table_to_db(hdb, suminfo); @@ -2255,7 +2255,7 @@ static void test_msiimport(void) GetCurrentDirectoryA(MAX_PATH, CURR_DIR); - r = MsiOpenDatabaseA(msifile, LIBMSI_DB_OPEN_CREATE, &hdb); + r = MsiOpenDatabase(msifile, LIBMSI_DB_OPEN_CREATE, &hdb); ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); r = add_table_to_db(hdb, test_data); @@ -9202,7 +9202,7 @@ static void test_embedded_nulls(void) LibmsiObject *hrec; char buffer[32]; - r = MsiOpenDatabaseA( msifile, LIBMSI_DB_OPEN_CREATE, &hdb ); + r = MsiOpenDatabase( msifile, LIBMSI_DB_OPEN_CREATE, &hdb ); ok( r == ERROR_SUCCESS, "failed to open database %u\n", r ); GetCurrentDirectoryA( MAX_PATH, CURR_DIR ); |
