msi: Fixed definition of the MSIITERHANDLE type.
This commit is contained in:
parent
0cc74835b9
commit
36c4ec8f33
|
@ -109,7 +109,7 @@ typedef struct tagMSIRECORD
|
||||||
MSIFIELD fields[1]; /* nb. array size is count+1 */
|
MSIFIELD fields[1]; /* nb. array size is count+1 */
|
||||||
} MSIRECORD;
|
} MSIRECORD;
|
||||||
|
|
||||||
typedef void *MSIITERHANDLE;
|
typedef const struct tagMSICOLUMNHASHENTRY *MSIITERHANDLE;
|
||||||
|
|
||||||
typedef struct tagMSIVIEWOPS
|
typedef struct tagMSIVIEWOPS
|
||||||
{
|
{
|
||||||
|
|
|
@ -1587,12 +1587,12 @@ static UINT TABLE_find_matching_rows( struct tagMSIVIEW *view, UINT col,
|
||||||
if( !*handle )
|
if( !*handle )
|
||||||
entry = tv->columns[col-1].hash_table[val % MSITABLE_HASH_TABLE_SIZE];
|
entry = tv->columns[col-1].hash_table[val % MSITABLE_HASH_TABLE_SIZE];
|
||||||
else
|
else
|
||||||
entry = ((const MSICOLUMNHASHENTRY *)*handle)->next;
|
entry = (*handle)->next;
|
||||||
|
|
||||||
while (entry && entry->value != val)
|
while (entry && entry->value != val)
|
||||||
entry = entry->next;
|
entry = entry->next;
|
||||||
|
|
||||||
*handle = (MSIITERHANDLE)entry;
|
*handle = entry;
|
||||||
if (!entry)
|
if (!entry)
|
||||||
return ERROR_NO_MORE_ITEMS;
|
return ERROR_NO_MORE_ITEMS;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue