This trap call returns the CONTENTS_* of a specific point in space - it is commonly used to avoid spawning items in CONTENTS_NODROP areas.
The second parameter specifies an entityNum (ent->s.number) which is ignored when evaluating the contents for a point.