Michael Stefaniuc : d3dxof: Avoid casts from COM objects to interfaces.