The Retail version of the dll might not check the parameters but the Debug version probably does.On 07/03/06, Stefan Dösinger <stefandoesinger@gmx.at> wrote:Native D3D crashes if it's called with a NULL pointer? Are you sure that you shouldn't return something like D3DERR_INVALIDCALL if pParamters == NULL?Yes. I verified that with DirectX 9.0c on win2k.