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