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