if (!GetVersionEx(&winVer) || winVer.dwMajorVersion <= 5)
return;
- CoInitialize(0);
+ CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
void *ptr;
if (S_OK == CoCreateInstance(&CLSID_TaskbarList,
vout_display_PlacePicture(&place, source, &place_cfg, false);
EventThreadUpdateSourceAndPlace(sys->event, source, &place);
-#if defined(MODULE_NAME_IS_wingapi)
- if (place.width != vd->fmt.i_width || place.height != vd->fmt.i_height)
- vout_display_SendEventPicturesInvalid(vd);
-#endif
if (sys->hvideownd)
SetWindowPos(sys->hvideownd, 0,