%i is for integers, the returning values of AreTexturesResident are booleans. And as everyone knows, in C, an expression is false if it is equal to zero.
Also, texture priorities might not be set until the texture has been fully created. So only binding a texture might not be suffisant enough for the priority to be set.
AreTexturesResident won’t change the priority of the texture, it will only says if the texture effectively resides in the graphic memory. The return of your request tells it effectively is.