[PATCH] d3d9: Implement setting the maximum frame latency.