This is a method of the IDirect3dRMAnimationSet Interface.
public void addDestroyCallback(Id3drmCallback fn, IUnknown Arg);