diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-23 10:31:27 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-06 20:26:29 +0100 |
commit | 73d6f4144fc246161652e43351253a7e9a8ef33e (patch) | |
tree | 5c4c8969d494b90aae675d1a3c68b18bed7d36e6 /include/libmsi.h | |
parent | 03613cc7fb190dd94623ebe96c72329d4f1d1475 (diff) | |
download | msitools-73d6f4144fc246161652e43351253a7e9a8ef33e.tar.gz msitools-73d6f4144fc246161652e43351253a7e9a8ef33e.tar.xz msitools-73d6f4144fc246161652e43351253a7e9a8ef33e.zip |
get rid of P/LP types
Diffstat (limited to 'include/libmsi.h')
-rw-r--r-- | include/libmsi.h | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/include/libmsi.h b/include/libmsi.h index 6cd8480..5ce043e 100644 --- a/include/libmsi.h +++ b/include/libmsi.h @@ -151,11 +151,11 @@ extern "C" { UINT WINAPI MsiViewFetch(PMSIOBJECT,PMSIOBJECT*); UINT WINAPI MsiViewExecute(PMSIOBJECT,PMSIOBJECT); UINT WINAPI MsiViewClose(PMSIOBJECT); -UINT WINAPI MsiDatabaseOpenViewA(PMSIOBJECT,LPCSTR,PMSIOBJECT*); -UINT WINAPI MsiDatabaseOpenViewW(PMSIOBJECT,LPCWSTR,PMSIOBJECT*); +UINT WINAPI MsiDatabaseOpenViewA(PMSIOBJECT,const CHAR *,PMSIOBJECT*); +UINT WINAPI MsiDatabaseOpenViewW(PMSIOBJECT,const WCHAR *,PMSIOBJECT*); #define MsiDatabaseOpenView WINELIB_NAME_AW(MsiDatabaseOpenView) -MSIDBERROR WINAPI MsiViewGetErrorA(PMSIOBJECT,LPSTR,LPDWORD); -MSIDBERROR WINAPI MsiViewGetErrorW(PMSIOBJECT,LPWSTR,LPDWORD); +MSIDBERROR WINAPI MsiViewGetErrorA(PMSIOBJECT,CHAR *,DWORD *); +MSIDBERROR WINAPI MsiViewGetErrorW(PMSIOBJECT,WCHAR *,DWORD *); #define MsiViewGetError WINELIB_NAME_AW(MsiViewGetError) MSIDBSTATE WINAPI MsiGetDatabaseState(PMSIOBJECT); @@ -164,74 +164,74 @@ MSIDBSTATE WINAPI MsiGetDatabaseState(PMSIOBJECT); PMSIOBJECT WINAPI MsiCreateRecord(UINT); UINT WINAPI MsiRecordClearData(PMSIOBJECT); UINT WINAPI MsiRecordSetInteger(PMSIOBJECT,UINT,int); -UINT WINAPI MsiRecordSetStringA(PMSIOBJECT,UINT,LPCSTR); -UINT WINAPI MsiRecordSetStringW(PMSIOBJECT,UINT,LPCWSTR); +UINT WINAPI MsiRecordSetStringA(PMSIOBJECT,UINT,const CHAR *); +UINT WINAPI MsiRecordSetStringW(PMSIOBJECT,UINT,const WCHAR *); #define MsiRecordSetString WINELIB_NAME_AW(MsiRecordSetString) -UINT WINAPI MsiRecordGetStringA(PMSIOBJECT,UINT,LPSTR,LPDWORD); -UINT WINAPI MsiRecordGetStringW(PMSIOBJECT,UINT,LPWSTR,LPDWORD); +UINT WINAPI MsiRecordGetStringA(PMSIOBJECT,UINT,CHAR *,DWORD *); +UINT WINAPI MsiRecordGetStringW(PMSIOBJECT,UINT,WCHAR *,DWORD *); #define MsiRecordGetString WINELIB_NAME_AW(MsiRecordGetString) UINT WINAPI MsiRecordGetFieldCount(PMSIOBJECT); int WINAPI MsiRecordGetInteger(PMSIOBJECT,UINT); UINT WINAPI MsiRecordDataSize(PMSIOBJECT,UINT); BOOL WINAPI MsiRecordIsNull(PMSIOBJECT,UINT); -UINT WINAPI MsiFormatRecordA(PMSIOBJECT,PMSIOBJECT,LPSTR,LPDWORD); -UINT WINAPI MsiFormatRecordW(PMSIOBJECT,PMSIOBJECT,LPWSTR,LPDWORD); +UINT WINAPI MsiFormatRecordA(PMSIOBJECT,PMSIOBJECT,CHAR *,DWORD *); +UINT WINAPI MsiFormatRecordW(PMSIOBJECT,PMSIOBJECT,WCHAR *,DWORD *); #define MsiFormatRecord WINELIB_NAME_AW(MsiFormatRecord) -UINT WINAPI MsiRecordSetStreamA(PMSIOBJECT,UINT,LPCSTR); -UINT WINAPI MsiRecordSetStreamW(PMSIOBJECT,UINT,LPCWSTR); +UINT WINAPI MsiRecordSetStreamA(PMSIOBJECT,UINT,const CHAR *); +UINT WINAPI MsiRecordSetStreamW(PMSIOBJECT,UINT,const WCHAR *); #define MsiRecordSetStream WINELIB_NAME_AW(MsiRecordSetStream) -UINT WINAPI MsiRecordReadStream(PMSIOBJECT,UINT,char*,LPDWORD); +UINT WINAPI MsiRecordReadStream(PMSIOBJECT,UINT,char*,DWORD *); -UINT WINAPI MsiDatabaseGetPrimaryKeysA(PMSIOBJECT,LPCSTR,PMSIOBJECT*); -UINT WINAPI MsiDatabaseGetPrimaryKeysW(PMSIOBJECT,LPCWSTR,PMSIOBJECT*); +UINT WINAPI MsiDatabaseGetPrimaryKeysA(PMSIOBJECT,const CHAR *,PMSIOBJECT*); +UINT WINAPI MsiDatabaseGetPrimaryKeysW(PMSIOBJECT,const WCHAR *,PMSIOBJECT*); #define MsiDatabaseGetPrimaryKeys WINELIB_NAME_AW(MsiDatabaseGetPrimaryKeys) /* database transforms */ -UINT WINAPI MsiDatabaseApplyTransformA(PMSIOBJECT,LPCSTR,int); -UINT WINAPI MsiDatabaseApplyTransformW(PMSIOBJECT,LPCWSTR,int); +UINT WINAPI MsiDatabaseApplyTransformA(PMSIOBJECT,const CHAR *,int); +UINT WINAPI MsiDatabaseApplyTransformW(PMSIOBJECT,const WCHAR *,int); #define MsiDatabaseApplyTransform WINELIB_NAME_AW(MsiDatabaseApplyTransform) UINT WINAPI MsiViewGetColumnInfo(PMSIOBJECT, MSICOLINFO, PMSIOBJECT*); -UINT WINAPI MsiCreateTransformSummaryInfoA(PMSIOBJECT, PMSIOBJECT, LPCSTR, int, int); -UINT WINAPI MsiCreateTransformSummaryInfoW(PMSIOBJECT, PMSIOBJECT, LPCWSTR, int, int); +UINT WINAPI MsiCreateTransformSummaryInfoA(PMSIOBJECT, PMSIOBJECT, const CHAR *, int, int); +UINT WINAPI MsiCreateTransformSummaryInfoW(PMSIOBJECT, PMSIOBJECT, const WCHAR *, int, int); #define MsiCreateTransformSummaryInfo WINELIB_NAME_AW(MsiCreateTransformSummaryInfo) -UINT WINAPI MsiGetSummaryInformationA(PMSIOBJECT, LPCSTR, UINT, PMSIOBJECT *); -UINT WINAPI MsiGetSummaryInformationW(PMSIOBJECT, LPCWSTR, UINT, PMSIOBJECT *); +UINT WINAPI MsiGetSummaryInformationA(PMSIOBJECT, const CHAR *, UINT, PMSIOBJECT *); +UINT WINAPI MsiGetSummaryInformationW(PMSIOBJECT, const WCHAR *, UINT, PMSIOBJECT *); #define MsiGetSummaryInformation WINELIB_NAME_AW(MsiGetSummaryInformation) -UINT WINAPI MsiSummaryInfoGetPropertyA(PMSIOBJECT,UINT,PUINT,LPINT,FILETIME*,LPSTR,LPDWORD); -UINT WINAPI MsiSummaryInfoGetPropertyW(PMSIOBJECT,UINT,PUINT,LPINT,FILETIME*,LPWSTR,LPDWORD); +UINT WINAPI MsiSummaryInfoGetPropertyA(PMSIOBJECT,UINT,UINT *,INT *,FILETIME*,CHAR *,DWORD *); +UINT WINAPI MsiSummaryInfoGetPropertyW(PMSIOBJECT,UINT,UINT *,INT *,FILETIME*,WCHAR *,DWORD *); #define MsiSummaryInfoGetProperty WINELIB_NAME_AW(MsiSummaryInfoGetProperty) -UINT WINAPI MsiSummaryInfoSetPropertyA(PMSIOBJECT, UINT, UINT, INT, FILETIME*, LPCSTR); -UINT WINAPI MsiSummaryInfoSetPropertyW(PMSIOBJECT, UINT, UINT, INT, FILETIME*, LPCWSTR); +UINT WINAPI MsiSummaryInfoSetPropertyA(PMSIOBJECT, UINT, UINT, INT, FILETIME*, const CHAR *); +UINT WINAPI MsiSummaryInfoSetPropertyW(PMSIOBJECT, UINT, UINT, INT, FILETIME*, const WCHAR *); #define MsiSummaryInfoSetProperty WINELIB_NAME_AW(MsiSummaryInfoSetProperty) -UINT WINAPI MsiDatabaseExportA(PMSIOBJECT, LPCSTR, LPCSTR, LPCSTR); -UINT WINAPI MsiDatabaseExportW(PMSIOBJECT, LPCWSTR, LPCWSTR, LPCWSTR); +UINT WINAPI MsiDatabaseExportA(PMSIOBJECT, const CHAR *, const CHAR *, const CHAR *); +UINT WINAPI MsiDatabaseExportW(PMSIOBJECT, const WCHAR *, const WCHAR *, const WCHAR *); #define MsiDatabaseExport WINELIB_NAME_AW(MsiDatabaseExport) -UINT WINAPI MsiDatabaseImportA(PMSIOBJECT, LPCSTR, LPCSTR); -UINT WINAPI MsiDatabaseImportW(PMSIOBJECT, LPCWSTR, LPCWSTR); +UINT WINAPI MsiDatabaseImportA(PMSIOBJECT, const CHAR *, const CHAR *); +UINT WINAPI MsiDatabaseImportW(PMSIOBJECT, const WCHAR *, const WCHAR *); #define MsiDatabaseImport WINELIB_NAME_AW(MsiDatabaseImport) -UINT WINAPI MsiOpenDatabaseW(LPCWSTR, LPCWSTR, PMSIOBJECT*); -UINT WINAPI MsiOpenDatabaseA(LPCSTR, LPCSTR, PMSIOBJECT*); +UINT WINAPI MsiOpenDatabaseW(const WCHAR *, const WCHAR *, PMSIOBJECT*); +UINT WINAPI MsiOpenDatabaseA(const CHAR *, const CHAR *, PMSIOBJECT*); #define MsiOpenDatabase WINELIB_NAME_AW(MsiOpenDatabase) -MSICONDITION WINAPI MsiDatabaseIsTablePersistentA(PMSIOBJECT, LPCSTR); -MSICONDITION WINAPI MsiDatabaseIsTablePersistentW(PMSIOBJECT, LPCWSTR); +MSICONDITION WINAPI MsiDatabaseIsTablePersistentA(PMSIOBJECT, const CHAR *); +MSICONDITION WINAPI MsiDatabaseIsTablePersistentW(PMSIOBJECT, const WCHAR *); #define MsiDatabaseIsTablePersistent WINELIB_NAME_AW(MsiDatabaseIsTablePersistent) UINT WINAPI MsiSummaryInfoPersist(PMSIOBJECT); -UINT WINAPI MsiSummaryInfoGetPropertyCount(PMSIOBJECT,PUINT); +UINT WINAPI MsiSummaryInfoGetPropertyCount(PMSIOBJECT,UINT *); UINT WINAPI MsiViewModify(PMSIOBJECT, MSIMODIFY, PMSIOBJECT); -UINT WINAPI MsiDatabaseMergeA(PMSIOBJECT, PMSIOBJECT, LPCSTR); -UINT WINAPI MsiDatabaseMergeW(PMSIOBJECT, PMSIOBJECT, LPCWSTR); +UINT WINAPI MsiDatabaseMergeA(PMSIOBJECT, PMSIOBJECT, const CHAR *); +UINT WINAPI MsiDatabaseMergeW(PMSIOBJECT, PMSIOBJECT, const WCHAR *); #define MsiDatabaseMerge WINELIB_NAME_AW(MsiDatabaseMerge) /* Non Unicode */ |