Hi Henri,
Just a suggestion for a future patch. The current autogenmipmap code isn't correct. Even when this capability isn't supported the function might not return D3DERR_INVALIDCALL IF CheckDeviceFormat returns D3DOK_NOAUTOGEN for this usage flag. I stumbled on this when I started improving our caps code but didn't have time to fix it yet.
Roderick