Get the caps result from this.
The caps remains valid as long as this remains valid.
The query to parse
A pointer to the caps