On 06/05/06, Ivan Gyurdiev <[EMAIL PROTECTED]> wrote:
> - At least for d3d9, GetContainer returns E_NOINTERFACE on Windows. I
> verified that when I rewrote part of the function some time ago, and I
> just did again. I originally intended to add a test for that, but
> well, guess I forgot about it.
Can you add a comment to the code when the spec is verified to be wrong.
Otherwise programmers like me will make a mistake and assume the spec to
be valid.
Sure, but you shouldn't use MSDN for anything more than getting a
general idea of what a function is supposed to do in the first
place.It is particularly bad for things like return codes, refcounts
and whether things are checked for NULL / written with NULL on error,
to name a few things.


Reply via email to