diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-23 11:11:47 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-06 20:26:29 +0100 |
commit | 9343724fcc4db909f19977523121b7597ab5f6c7 (patch) | |
tree | eb7a957a25cc61b1655a821285e5afd367a399db /include/libmsi.h | |
parent | 0c8177bd03da8f9dca719ffde8557968c932072f (diff) | |
download | msitools-9343724fcc4db909f19977523121b7597ab5f6c7.tar.gz msitools-9343724fcc4db909f19977523121b7597ab5f6c7.tar.xz msitools-9343724fcc4db909f19977523121b7597ab5f6c7.zip |
get rid of WINAPI
Diffstat (limited to 'include/libmsi.h')
-rw-r--r-- | include/libmsi.h | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/include/libmsi.h b/include/libmsi.h index a7e5fb0..9674465 100644 --- a/include/libmsi.h +++ b/include/libmsi.h @@ -148,97 +148,97 @@ extern "C" { /* view manipulation */ -UINT WINAPI MsiViewFetch(MSIOBJECT *,MSIOBJECT **); -UINT WINAPI MsiViewExecute(MSIOBJECT *,MSIOBJECT *); -UINT WINAPI MsiViewClose(MSIOBJECT *); -UINT WINAPI MsiDatabaseOpenViewA(MSIOBJECT *,const CHAR *,MSIOBJECT **); -UINT WINAPI MsiDatabaseOpenViewW(MSIOBJECT *,const WCHAR *,MSIOBJECT **); +UINT MsiViewFetch(MSIOBJECT *,MSIOBJECT **); +UINT MsiViewExecute(MSIOBJECT *,MSIOBJECT *); +UINT MsiViewClose(MSIOBJECT *); +UINT MsiDatabaseOpenViewA(MSIOBJECT *,const CHAR *,MSIOBJECT **); +UINT MsiDatabaseOpenViewW(MSIOBJECT *,const WCHAR *,MSIOBJECT **); #define MsiDatabaseOpenView WINELIB_NAME_AW(MsiDatabaseOpenView) -MSIDBERROR WINAPI MsiViewGetErrorA(MSIOBJECT *,CHAR *,DWORD *); -MSIDBERROR WINAPI MsiViewGetErrorW(MSIOBJECT *,WCHAR *,DWORD *); +MSIDBERROR MsiViewGetErrorA(MSIOBJECT *,CHAR *,DWORD *); +MSIDBERROR MsiViewGetErrorW(MSIOBJECT *,WCHAR *,DWORD *); #define MsiViewGetError WINELIB_NAME_AW(MsiViewGetError) -MSIDBSTATE WINAPI MsiGetDatabaseState(MSIOBJECT *); +MSIDBSTATE MsiGetDatabaseState(MSIOBJECT *); /* record manipulation */ -MSIOBJECT *WINAPI MsiCreateRecord(UINT); -UINT WINAPI MsiRecordClearData(MSIOBJECT *); -UINT WINAPI MsiRecordSetInteger(MSIOBJECT *,UINT,int); -UINT WINAPI MsiRecordSetStringA(MSIOBJECT *,UINT,const CHAR *); -UINT WINAPI MsiRecordSetStringW(MSIOBJECT *,UINT,const WCHAR *); +MSIOBJECT * MsiCreateRecord(UINT); +UINT MsiRecordClearData(MSIOBJECT *); +UINT MsiRecordSetInteger(MSIOBJECT *,UINT,int); +UINT MsiRecordSetStringA(MSIOBJECT *,UINT,const CHAR *); +UINT MsiRecordSetStringW(MSIOBJECT *,UINT,const WCHAR *); #define MsiRecordSetString WINELIB_NAME_AW(MsiRecordSetString) -UINT WINAPI MsiRecordGetStringA(MSIOBJECT *,UINT,CHAR *,DWORD *); -UINT WINAPI MsiRecordGetStringW(MSIOBJECT *,UINT,WCHAR *,DWORD *); +UINT MsiRecordGetStringA(MSIOBJECT *,UINT,CHAR *,DWORD *); +UINT MsiRecordGetStringW(MSIOBJECT *,UINT,WCHAR *,DWORD *); #define MsiRecordGetString WINELIB_NAME_AW(MsiRecordGetString) -UINT WINAPI MsiRecordGetFieldCount(MSIOBJECT *); -int WINAPI MsiRecordGetInteger(MSIOBJECT *,UINT); -UINT WINAPI MsiRecordDataSize(MSIOBJECT *,UINT); -BOOL WINAPI MsiRecordIsNull(MSIOBJECT *,UINT); -UINT WINAPI MsiFormatRecordA(MSIOBJECT *,MSIOBJECT *,CHAR *,DWORD *); -UINT WINAPI MsiFormatRecordW(MSIOBJECT *,MSIOBJECT *,WCHAR *,DWORD *); +UINT MsiRecordGetFieldCount(MSIOBJECT *); +int MsiRecordGetInteger(MSIOBJECT *,UINT); +UINT MsiRecordDataSize(MSIOBJECT *,UINT); +BOOL MsiRecordIsNull(MSIOBJECT *,UINT); +UINT MsiFormatRecordA(MSIOBJECT *,MSIOBJECT *,CHAR *,DWORD *); +UINT MsiFormatRecordW(MSIOBJECT *,MSIOBJECT *,WCHAR *,DWORD *); #define MsiFormatRecord WINELIB_NAME_AW(MsiFormatRecord) -UINT WINAPI MsiRecordSetStreamA(MSIOBJECT *,UINT,const CHAR *); -UINT WINAPI MsiRecordSetStreamW(MSIOBJECT *,UINT,const WCHAR *); +UINT MsiRecordSetStreamA(MSIOBJECT *,UINT,const CHAR *); +UINT MsiRecordSetStreamW(MSIOBJECT *,UINT,const WCHAR *); #define MsiRecordSetStream WINELIB_NAME_AW(MsiRecordSetStream) -UINT WINAPI MsiRecordReadStream(MSIOBJECT *,UINT,char*,DWORD *); +UINT MsiRecordReadStream(MSIOBJECT *,UINT,char*,DWORD *); -UINT WINAPI MsiDatabaseGetPrimaryKeysA(MSIOBJECT *,const CHAR *,MSIOBJECT **); -UINT WINAPI MsiDatabaseGetPrimaryKeysW(MSIOBJECT *,const WCHAR *,MSIOBJECT **); +UINT MsiDatabaseGetPrimaryKeysA(MSIOBJECT *,const CHAR *,MSIOBJECT **); +UINT MsiDatabaseGetPrimaryKeysW(MSIOBJECT *,const WCHAR *,MSIOBJECT **); #define MsiDatabaseGetPrimaryKeys WINELIB_NAME_AW(MsiDatabaseGetPrimaryKeys) /* database transforms */ -UINT WINAPI MsiDatabaseApplyTransformA(MSIOBJECT *,const CHAR *,int); -UINT WINAPI MsiDatabaseApplyTransformW(MSIOBJECT *,const WCHAR *,int); +UINT MsiDatabaseApplyTransformA(MSIOBJECT *,const CHAR *,int); +UINT MsiDatabaseApplyTransformW(MSIOBJECT *,const WCHAR *,int); #define MsiDatabaseApplyTransform WINELIB_NAME_AW(MsiDatabaseApplyTransform) -UINT WINAPI MsiViewGetColumnInfo(MSIOBJECT *, MSICOLINFO, MSIOBJECT **); +UINT MsiViewGetColumnInfo(MSIOBJECT *, MSICOLINFO, MSIOBJECT **); -UINT WINAPI MsiCreateTransformSummaryInfoA(MSIOBJECT *, MSIOBJECT *, const CHAR *, int, int); -UINT WINAPI MsiCreateTransformSummaryInfoW(MSIOBJECT *, MSIOBJECT *, const WCHAR *, int, int); +UINT MsiCreateTransformSummaryInfoA(MSIOBJECT *, MSIOBJECT *, const CHAR *, int, int); +UINT MsiCreateTransformSummaryInfoW(MSIOBJECT *, MSIOBJECT *, const WCHAR *, int, int); #define MsiCreateTransformSummaryInfo WINELIB_NAME_AW(MsiCreateTransformSummaryInfo) -UINT WINAPI MsiGetSummaryInformationA(MSIOBJECT *, const CHAR *, UINT, MSIOBJECT **); -UINT WINAPI MsiGetSummaryInformationW(MSIOBJECT *, const WCHAR *, UINT, MSIOBJECT **); +UINT MsiGetSummaryInformationA(MSIOBJECT *, const CHAR *, UINT, MSIOBJECT **); +UINT MsiGetSummaryInformationW(MSIOBJECT *, const WCHAR *, UINT, MSIOBJECT **); #define MsiGetSummaryInformation WINELIB_NAME_AW(MsiGetSummaryInformation) -UINT WINAPI MsiSummaryInfoGetPropertyA(MSIOBJECT *,UINT,UINT *,INT *,FILETIME*,CHAR *,DWORD *); -UINT WINAPI MsiSummaryInfoGetPropertyW(MSIOBJECT *,UINT,UINT *,INT *,FILETIME*,WCHAR *,DWORD *); +UINT MsiSummaryInfoGetPropertyA(MSIOBJECT *,UINT,UINT *,INT *,FILETIME*,CHAR *,DWORD *); +UINT MsiSummaryInfoGetPropertyW(MSIOBJECT *,UINT,UINT *,INT *,FILETIME*,WCHAR *,DWORD *); #define MsiSummaryInfoGetProperty WINELIB_NAME_AW(MsiSummaryInfoGetProperty) -UINT WINAPI MsiSummaryInfoSetPropertyA(MSIOBJECT *, UINT, UINT, INT, FILETIME*, const CHAR *); -UINT WINAPI MsiSummaryInfoSetPropertyW(MSIOBJECT *, UINT, UINT, INT, FILETIME*, const WCHAR *); +UINT MsiSummaryInfoSetPropertyA(MSIOBJECT *, UINT, UINT, INT, FILETIME*, const CHAR *); +UINT MsiSummaryInfoSetPropertyW(MSIOBJECT *, UINT, UINT, INT, FILETIME*, const WCHAR *); #define MsiSummaryInfoSetProperty WINELIB_NAME_AW(MsiSummaryInfoSetProperty) -UINT WINAPI MsiDatabaseExportA(MSIOBJECT *, const CHAR *, const CHAR *, const CHAR *); -UINT WINAPI MsiDatabaseExportW(MSIOBJECT *, const WCHAR *, const WCHAR *, const WCHAR *); +UINT MsiDatabaseExportA(MSIOBJECT *, const CHAR *, const CHAR *, const CHAR *); +UINT MsiDatabaseExportW(MSIOBJECT *, const WCHAR *, const WCHAR *, const WCHAR *); #define MsiDatabaseExport WINELIB_NAME_AW(MsiDatabaseExport) -UINT WINAPI MsiDatabaseImportA(MSIOBJECT *, const CHAR *, const CHAR *); -UINT WINAPI MsiDatabaseImportW(MSIOBJECT *, const WCHAR *, const WCHAR *); +UINT MsiDatabaseImportA(MSIOBJECT *, const CHAR *, const CHAR *); +UINT MsiDatabaseImportW(MSIOBJECT *, const WCHAR *, const WCHAR *); #define MsiDatabaseImport WINELIB_NAME_AW(MsiDatabaseImport) -UINT WINAPI MsiOpenDatabaseW(const WCHAR *, const WCHAR *, MSIOBJECT **); -UINT WINAPI MsiOpenDatabaseA(const CHAR *, const CHAR *, MSIOBJECT **); +UINT MsiOpenDatabaseW(const WCHAR *, const WCHAR *, MSIOBJECT **); +UINT MsiOpenDatabaseA(const CHAR *, const CHAR *, MSIOBJECT **); #define MsiOpenDatabase WINELIB_NAME_AW(MsiOpenDatabase) -MSICONDITION WINAPI MsiDatabaseIsTablePersistentA(MSIOBJECT *, const CHAR *); -MSICONDITION WINAPI MsiDatabaseIsTablePersistentW(MSIOBJECT *, const WCHAR *); +MSICONDITION MsiDatabaseIsTablePersistentA(MSIOBJECT *, const CHAR *); +MSICONDITION MsiDatabaseIsTablePersistentW(MSIOBJECT *, const WCHAR *); #define MsiDatabaseIsTablePersistent WINELIB_NAME_AW(MsiDatabaseIsTablePersistent) -UINT WINAPI MsiSummaryInfoPersist(MSIOBJECT *); -UINT WINAPI MsiSummaryInfoGetPropertyCount(MSIOBJECT *,UINT *); +UINT MsiSummaryInfoPersist(MSIOBJECT *); +UINT MsiSummaryInfoGetPropertyCount(MSIOBJECT *,UINT *); -UINT WINAPI MsiViewModify(MSIOBJECT *, MSIMODIFY, MSIOBJECT *); +UINT MsiViewModify(MSIOBJECT *, MSIMODIFY, MSIOBJECT *); -UINT WINAPI MsiDatabaseMergeA(MSIOBJECT *, MSIOBJECT *, const CHAR *); -UINT WINAPI MsiDatabaseMergeW(MSIOBJECT *, MSIOBJECT *, const WCHAR *); +UINT MsiDatabaseMergeA(MSIOBJECT *, MSIOBJECT *, const CHAR *); +UINT MsiDatabaseMergeW(MSIOBJECT *, MSIOBJECT *, const WCHAR *); #define MsiDatabaseMerge WINELIB_NAME_AW(MsiDatabaseMerge) /* Non Unicode */ -UINT WINAPI MsiDatabaseCommit(MSIOBJECT *); -UINT WINAPI MsiCloseHandle(MSIOBJECT *); +UINT MsiDatabaseCommit(MSIOBJECT *); +UINT MsiCloseHandle(MSIOBJECT *); -MSIOBJECT *WINAPI MsiGetLastErrorRecord(void); +MSIOBJECT * MsiGetLastErrorRecord(void); #ifdef __cplusplus } |