Mike McCormack : msi: Fix the prototype of MsiDatabaseIsTablePersistent to match the SDK.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Sep 8 10:24:33 CDT 2006


Module: wine
Branch: master
Commit: 665829c390d3b833f00f3dad439204023b190d53
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=665829c390d3b833f00f3dad439204023b190d53

Author: Mike McCormack <mike at codeweavers.com>
Date:   Fri Sep  8 18:01:54 2006 +0900

msi: Fix the prototype of MsiDatabaseIsTablePersistent to match the SDK.

---

 dlls/msi/msiquery.c |    4 ++--
 include/msiquery.h  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/msi/msiquery.c b/dlls/msi/msiquery.c
index ba7fc1b..78614fe 100644
--- a/dlls/msi/msiquery.c
+++ b/dlls/msi/msiquery.c
@@ -870,7 +870,7 @@ UINT WINAPI MsiDatabaseGetPrimaryKeysA(M
 }
 
 MSICONDITION WINAPI MsiDatabaseIsTablePersistentA(
-              MSIHANDLE hDatabase, LPSTR szTableName)
+              MSIHANDLE hDatabase, LPCSTR szTableName)
 {
     LPWSTR szwTableName = NULL;
     MSICONDITION r;
@@ -890,7 +890,7 @@ MSICONDITION WINAPI MsiDatabaseIsTablePe
 }
 
 MSICONDITION WINAPI MsiDatabaseIsTablePersistentW(
-              MSIHANDLE hDatabase, LPWSTR szTableName)
+              MSIHANDLE hDatabase, LPCWSTR szTableName)
 {
     FIXME("%lx %s\n", hDatabase, debugstr_w(szTableName));
     return MSICONDITION_FALSE;
diff --git a/include/msiquery.h b/include/msiquery.h
index 57f7577..8ea24b6 100644
--- a/include/msiquery.h
+++ b/include/msiquery.h
@@ -273,8 +273,8 @@ UINT WINAPI MsiOpenDatabaseW(LPCWSTR, LP
 UINT WINAPI MsiOpenDatabaseA(LPCSTR, LPCSTR, MSIHANDLE*);
 #define     MsiOpenDatabase WINELIB_NAME_AW(MsiOpenDatabase)
 
-MSICONDITION WINAPI MsiDatabaseIsTablePersistentA(MSIHANDLE, LPSTR);
-MSICONDITION WINAPI MsiDatabaseIsTablePersistentW(MSIHANDLE, LPWSTR);
+MSICONDITION WINAPI MsiDatabaseIsTablePersistentA(MSIHANDLE, LPCSTR);
+MSICONDITION WINAPI MsiDatabaseIsTablePersistentW(MSIHANDLE, LPCWSTR);
 #define     MsiDatabaseIsTablePersistent WINELIB_NAME_AW(MsiDatabaseIsTablePersistent)
 
 UINT WINAPI MsiSequenceA(MSIHANDLE, LPCSTR, INT);




More information about the wine-cvs mailing list