summaryrefslogtreecommitdiffstats
path: root/libmsi/create.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/create.c
parent03613cc7fb190dd94623ebe96c72329d4f1d1475 (diff)
downloadmsitools-73d6f4144fc246161652e43351253a7e9a8ef33e.tar.gz
msitools-73d6f4144fc246161652e43351253a7e9a8ef33e.tar.xz
msitools-73d6f4144fc246161652e43351253a7e9a8ef33e.zip
get rid of P/LP types
Diffstat (limited to 'libmsi/create.c')
-rw-r--r--libmsi/create.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmsi/create.c b/libmsi/create.c
index 1d7eb2b..0a03565 100644
--- a/libmsi/create.c
+++ b/libmsi/create.c
@@ -41,7 +41,7 @@ typedef struct tagMSICREATEVIEW
{
MSIVIEW view;
MSIDATABASE *db;
- LPCWSTR name;
+ const WCHAR * name;
BOOL bIsTemp;
BOOL hold;
column_info *col_info;
@@ -88,8 +88,8 @@ static UINT CREATE_get_dimensions( struct tagMSIVIEW *view, UINT *rows, UINT *co
return ERROR_FUNCTION_FAILED;
}
-static UINT CREATE_get_column_info( struct tagMSIVIEW *view, UINT n, LPCWSTR *name,
- UINT *type, BOOL *temporary, LPCWSTR *table_name )
+static UINT CREATE_get_column_info( struct tagMSIVIEW *view, UINT n, const WCHAR **name,
+ UINT *type, BOOL *temporary, const WCHAR **table_name )
{
MSICREATEVIEW *cv = (MSICREATEVIEW*)view;
@@ -156,7 +156,7 @@ static UINT check_columns( const column_info *col_info )
return ERROR_SUCCESS;
}
-UINT CREATE_CreateView( MSIDATABASE *db, MSIVIEW **view, LPCWSTR table,
+UINT CREATE_CreateView( MSIDATABASE *db, MSIVIEW **view, const WCHAR *table,
column_info *col_info, BOOL hold )
{
MSICREATEVIEW *cv = NULL;