Dmitry Timoshkov : taskschd: QueryInterface should return NULL interface on error.