CreateDeviceEx fails D3DERR_DRIVERINVALIDCALL

Oct 2, 2012 at 9:47 PM

Hi everyone, I've been banging my head on this scenario since Thursday. 80% of the time the video plays perfect... the rest... which took me a while to figure out and debug into to find the root cause... fails with a directx error code D3DERR_DRIVERINVALIDCALL which MSDN says is not used.

This happens in the EVR Presenter, when the instance is being created at the function CreateDeviceEx.

Has anybody come across this before? I've searched google but apparently nobody has run into this issue as the error code doesn't get used, but how do get the error then?

Any insight would be helpful.

Cheers.