Yes, E_FAIL is indeed the general DirectX error code. It has certainly nothing to do with the number of sprites and particles, but can be some issue with your DirectX or video driver installation. It can also be some damaged model or image file. That's the first things to check.