summaryrefslogtreecommitdiffstats
path: root/libmsi/alter.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-23 10:31:27 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-06 20:26:29 +0100
commit73d6f4144fc246161652e43351253a7e9a8ef33e (patch)
tree5c4c8969d494b90aae675d1a3c68b18bed7d36e6 /libmsi/alter.c
parent03613cc7fb190dd94623ebe96c72329d4f1d1475 (diff)
downloadmsitools-73d6f4144fc246161652e43351253a7e9a8ef33e.tar.gz
msitools-73d6f4144fc246161652e43351253a7e9a8ef33e.tar.xz
msitools-73d6f4144fc246161652e43351253a7e9a8ef33e.zip
get rid of P/LP types
Diffstat (limited to 'libmsi/alter.c')
-rw-r--r--libmsi/alter.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libmsi/alter.c b/libmsi/alter.c
index 9248d45..c7ce1e3 100644
--- a/libmsi/alter.c
+++ b/libmsi/alter.c
@@ -68,13 +68,13 @@ static UINT ALTER_get_row( struct tagMSIVIEW *view, UINT row, MSIRECORD **rec )
return av->table->ops->get_row(av->table, row, rec);
}
-static UINT ITERATE_columns(MSIRECORD *row, LPVOID param)
+static UINT ITERATE_columns(MSIRECORD *row, void *param)
{
(*(UINT *)param)++;
return ERROR_SUCCESS;
}
-static BOOL check_column_exists(MSIDATABASE *db, LPCWSTR table, LPCWSTR column)
+static BOOL check_column_exists(MSIDATABASE *db, const WCHAR *table, const WCHAR *column)
{
MSIQUERY *view;
MSIRECORD *rec;
@@ -187,8 +187,8 @@ static UINT ALTER_get_dimensions( struct tagMSIVIEW *view, UINT *rows, UINT *col
return ERROR_FUNCTION_FAILED;
}
-static UINT ALTER_get_column_info( struct tagMSIVIEW *view, UINT n, LPCWSTR *name,
- UINT *type, BOOL *temporary, LPCWSTR *table_name )
+static UINT ALTER_get_column_info( struct tagMSIVIEW *view, UINT n, const WCHAR **name,
+ UINT *type, BOOL *temporary, const WCHAR **table_name )
{
MSIALTERVIEW *av = (MSIALTERVIEW*)view;
@@ -250,7 +250,7 @@ static const MSIVIEWOPS alter_ops =
NULL,
};
-UINT ALTER_CreateView( MSIDATABASE *db, MSIVIEW **view, LPCWSTR name, column_info *colinfo, int hold )
+UINT ALTER_CreateView( MSIDATABASE *db, MSIVIEW **view, const WCHAR *name, column_info *colinfo, int hold )
{
MSIALTERVIEW *av;
UINT r;