This is a method of the IDirect3dRM Interface.
public void enumerateObjects(IEnumerateObjectsCallback fn, IUnknown pArgs);