msi: Remove some unused functions.

This commit is contained in:
Mike McCormack 2006-10-26 17:08:43 +09:00 committed by Alexandre Julliard
parent 4a32845a56
commit 9b95c27c9c
3 changed files with 6 additions and 60 deletions

View file

@ -58,24 +58,6 @@ static UINT ALTER_fetch_stream( struct tagMSIVIEW *view, UINT row, UINT col, ISt
return ERROR_FUNCTION_FAILED;
}
static UINT ALTER_set_int( struct tagMSIVIEW *view, UINT row, UINT col, UINT val )
{
MSIALTERVIEW *av = (MSIALTERVIEW*)view;
TRACE("%p %d %d %04x\n", av, row, col, val );
return ERROR_FUNCTION_FAILED;
}
static UINT ALTER_insert_row( struct tagMSIVIEW *view, MSIRECORD *record )
{
MSIALTERVIEW *av = (MSIALTERVIEW*)view;
TRACE("%p %p\n", av, record );
return ERROR_FUNCTION_FAILED;
}
static UINT ALTER_execute( struct tagMSIVIEW *view, MSIRECORD *record )
{
MSIALTERVIEW *av = (MSIALTERVIEW*)view;
@ -146,8 +128,8 @@ static const MSIVIEWOPS alter_ops =
{
ALTER_fetch_int,
ALTER_fetch_stream,
ALTER_set_int,
ALTER_insert_row,
NULL,
NULL,
ALTER_execute,
ALTER_close,
ALTER_get_dimensions,

View file

@ -73,24 +73,6 @@ static UINT DELETE_fetch_stream( struct tagMSIVIEW *view, UINT row, UINT col, IS
return ERROR_FUNCTION_FAILED;
}
static UINT DELETE_set_int( struct tagMSIVIEW *view, UINT row, UINT col, UINT val )
{
MSIDELETEVIEW *dv = (MSIDELETEVIEW*)view;
TRACE("%p %d %d %04x\n", dv, row, col, val );
return ERROR_FUNCTION_FAILED;
}
static UINT DELETE_insert_row( struct tagMSIVIEW *view, MSIRECORD *record )
{
MSIDELETEVIEW *dv = (MSIDELETEVIEW*)view;
TRACE("%p %p\n", dv, record );
return ERROR_FUNCTION_FAILED;
}
static UINT DELETE_execute( struct tagMSIVIEW *view, MSIRECORD *record )
{
MSIDELETEVIEW *dv = (MSIDELETEVIEW*)view;
@ -195,8 +177,8 @@ static const MSIVIEWOPS delete_ops =
{
DELETE_fetch_int,
DELETE_fetch_stream,
DELETE_set_int,
DELETE_insert_row,
NULL,
NULL,
DELETE_execute,
DELETE_close,
DELETE_get_dimensions,

View file

@ -103,24 +103,6 @@ static UINT JOIN_fetch_stream( struct tagMSIVIEW *view, UINT row, UINT col, IStr
return table->ops->fetch_stream( table, row, col, stm );
}
static UINT JOIN_set_int( struct tagMSIVIEW *view, UINT row, UINT col, UINT val )
{
MSIJOINVIEW *jv = (MSIJOINVIEW*)view;
TRACE("%p %d %d %04x\n", jv, row, col, val );
return ERROR_FUNCTION_FAILED;
}
static UINT JOIN_insert_row( struct tagMSIVIEW *view, MSIRECORD *record )
{
MSIJOINVIEW *jv = (MSIJOINVIEW*)view;
TRACE("%p %p\n", jv, record );
return ERROR_FUNCTION_FAILED;
}
static int join_key_compare(const void *l, const void *r)
{
const UINT *left = l, *right = r;
@ -345,8 +327,8 @@ static const MSIVIEWOPS join_ops =
{
JOIN_fetch_int,
JOIN_fetch_stream,
JOIN_set_int,
JOIN_insert_row,
NULL,
NULL,
JOIN_execute,
JOIN_close,
JOIN_get_dimensions,