+ hr = IWICComponentInfo_QueryInterface(info, &IID_IWICPixelFormatInfo2, (void **)&formatinfo); + if (hr == S_OK) There should be some sort of broken() or win_skip() here so we know we are testing that Wine provides this interface.