If I'm correct, NPPN_CMDLINEPLUGINMSG is only triggered here and the only instance using WM_COPYDATA with the command line parameter seems to be called here.
However, this happens in an if statement that ultimately returns from wWinMain, causing the app to terminate.
What am I missing? And does this if make any sense at all?