Should assign the QUERYINTERFACE to a temporary - it is relatively expensive.