if (!prov) return TRUE;
- if (prov->call_count < sizeof(prov->guid_data) / sizeof(prov->guid_data[0]))
+ if (prov->call_count < ARRAY_SIZE(prov->guid_data))
{
prov->guid_ptr[prov->call_count] = guid;
prov->guid_data[prov->call_count] = *guid;
if (!prov) return TRUE;
- if (prov->call_count < sizeof(prov->guid_data) / sizeof(prov->guid_data[0]))
+ if (prov->call_count < ARRAY_SIZE(prov->guid_data))
{
prov->guid_ptr[prov->call_count] = guid;
prov->guid_data[prov->call_count] = *guid;
{
BOOL found = FALSE;
int i;
- for( i=0; i < sizeof(sps) / sizeof(sps[0]) && !found; i++ )
+ for( i=0; i < ARRAY_SIZE(sps) && !found; i++ )
found = IsEqualGUID( sps[i], lpData );
ok( found, "Unknown Address type found %s\n", wine_dbgstr_guid(lpData) );
}