Am 2017-02-15 um 16:17 schrieb Alex Henrie:
Which of the two is preferred for ddraw code?
We generally use DDERR_INVALIDPARAMS.
One could argue that an inherited method like QueryInterface should return E_INVALIDARG instead, but this is all very academic. I'd say just keep what the existing code has.