/// process sync events (they are fired by the plugin on directory contents change) intptr_t WINAPI ProcessSynchroEventW(const ProcessSynchroEventInfo *Info) { if (Info->StructSize < sizeof(ProcessSynchroEventInfo)) return 0; Panel *panel = reinterpret_cast<Panel *>(Info->Param); return panel->ProcessSync(Info->Event); }