Create a stub implementation for MsiViewGetError.
This commit is contained in:
parent
950e5e626c
commit
908308631f
|
@ -158,8 +158,8 @@
|
||||||
158 stdcall MsiViewClose(long)
|
158 stdcall MsiViewClose(long)
|
||||||
159 stdcall MsiViewExecute(long long)
|
159 stdcall MsiViewExecute(long long)
|
||||||
160 stdcall MsiViewFetch(long ptr)
|
160 stdcall MsiViewFetch(long ptr)
|
||||||
161 stub MsiViewGetErrorA
|
161 stdcall MsiViewGetErrorA(long ptr ptr)
|
||||||
162 stub MsiViewGetErrorW
|
162 stdcall MsiViewGetErrorW(long ptr ptr)
|
||||||
163 stdcall MsiViewModify(long long long)
|
163 stdcall MsiViewModify(long long long)
|
||||||
164 stdcall MsiDatabaseIsTablePersistentA(long str)
|
164 stdcall MsiDatabaseIsTablePersistentA(long str)
|
||||||
165 stdcall MsiDatabaseIsTablePersistentW(long wstr)
|
165 stdcall MsiDatabaseIsTablePersistentW(long wstr)
|
||||||
|
|
|
@ -563,6 +563,42 @@ out:
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UINT WINAPI MsiViewGetErrorW( MSIHANDLE handle, LPWSTR szColumnNameBuffer,
|
||||||
|
DWORD *pcchBuf )
|
||||||
|
{
|
||||||
|
MSIQUERY *query = NULL;
|
||||||
|
|
||||||
|
FIXME("%ld %p %p\n", handle, szColumnNameBuffer, pcchBuf );
|
||||||
|
|
||||||
|
if( !pcchBuf )
|
||||||
|
return MSIDBERROR_INVALIDARG;
|
||||||
|
|
||||||
|
query = msihandle2msiinfo( handle, MSIHANDLETYPE_VIEW );
|
||||||
|
if( !query )
|
||||||
|
return MSIDBERROR_INVALIDARG;
|
||||||
|
|
||||||
|
msiobj_release( &query->hdr );
|
||||||
|
return MSIDBERROR_NOERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
UINT WINAPI MsiViewGetErrorA( MSIHANDLE handle, LPSTR szColumnNameBuffer,
|
||||||
|
DWORD *pcchBuf )
|
||||||
|
{
|
||||||
|
MSIQUERY *query = NULL;
|
||||||
|
|
||||||
|
FIXME("%ld %p %p\n", handle, szColumnNameBuffer, pcchBuf );
|
||||||
|
|
||||||
|
if( !pcchBuf )
|
||||||
|
return MSIDBERROR_INVALIDARG;
|
||||||
|
|
||||||
|
query = msihandle2msiinfo( handle, MSIHANDLETYPE_VIEW );
|
||||||
|
if( !query )
|
||||||
|
return MSIDBERROR_INVALIDARG;
|
||||||
|
|
||||||
|
msiobj_release( &query->hdr );
|
||||||
|
return MSIDBERROR_NOERROR;
|
||||||
|
}
|
||||||
|
|
||||||
UINT WINAPI MsiDatabaseApplyTransformA( MSIHANDLE hdb,
|
UINT WINAPI MsiDatabaseApplyTransformA( MSIHANDLE hdb,
|
||||||
LPCSTR szTransformFile, int iErrorCond)
|
LPCSTR szTransformFile, int iErrorCond)
|
||||||
{
|
{
|
||||||
|
|
|
@ -126,6 +126,9 @@ UINT WINAPI MsiViewClose(MSIHANDLE);
|
||||||
UINT WINAPI MsiDatabaseOpenViewA(MSIHANDLE,LPCSTR,MSIHANDLE*);
|
UINT WINAPI MsiDatabaseOpenViewA(MSIHANDLE,LPCSTR,MSIHANDLE*);
|
||||||
UINT WINAPI MsiDatabaseOpenViewW(MSIHANDLE,LPCWSTR,MSIHANDLE*);
|
UINT WINAPI MsiDatabaseOpenViewW(MSIHANDLE,LPCWSTR,MSIHANDLE*);
|
||||||
#define MsiDatabaseOpenView WINELIB_NAME_AW(MsiDatabaseOpenView)
|
#define MsiDatabaseOpenView WINELIB_NAME_AW(MsiDatabaseOpenView)
|
||||||
|
UINT WINAPI MsiViewGetErrorA(MSIHANDLE,LPSTR,DWORD*);
|
||||||
|
UINT WINAPI MsiViewGetErrorW(MSIHANDLE,LPWSTR,DWORD*);
|
||||||
|
#define MsiViewGetError WINELIB_NAME_AW(MsiViewGetError)
|
||||||
|
|
||||||
/* record manipulation */
|
/* record manipulation */
|
||||||
MSIHANDLE WINAPI MsiCreateRecord(unsigned int);
|
MSIHANDLE WINAPI MsiCreateRecord(unsigned int);
|
||||||
|
|
Loading…
Reference in New Issue