This is a method of the IDirect3dDevice Interface.
public void enumTextureFormats(IEnumTextureFormatsCallback fn, IUnknown args);