-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
A few questions / suggestions:
*) What happens if you register the same callback with different context pointers?
*) The test already does some testing of the call order. I think you could extend it a bit if you store arrays of expected callback functions and context pointers in the structure and compare them when the callbacks are invoked.
*) Does DeleteDestroyCallback return an error when no matching callback is found?
*) The last one is mostly curiosity / a bad feeling: Is there a difference between callbacks added with IDirect3DRMObject (and its derived interfaces) and IDirect3DRMObject2? I am asking because Object2 is a separate interface and might be implemented in a separate object and then aggregated. If Microsoft screwed up (they never do that, right? ;-) ) then it'll have its own list of added callbacks...