One Hansford Lafayette Hanks shows up on the NPS Soliers and Sailors site (see link) as being in Co. E of 20th Texas ( Bass') Cavalry.
CONFEDERATE TEXAS TROOPS
20th Regiment, Texas Cavalry (Bass')
20th Cavalry Regiment, recruited in Hill County, Texas, was organized during the spring of 1862 with about 850 officers and men. The unit was assigned to Cooper's and Gano's Brigade, Trans-Mississippi Department, and primarily confronted the Federals in the Indian Territory. It was included in the surrender of the Indian Troops at Doaksville on June 23, 1865. The field officers were Colonel Thomas C. Bass, Lieutenant Colonels Andrew J. Fowler and T.D. Taliaferro, and Majors Dempsey W. Broughton and John R. Johnson.
If this is your man, then you can order Pvt. Hanks' compiled military service records here at History-Sites. Link is on the top of the page. From experience, H-S is faster and better quality copy than NARA, who will also get it for you for a fee.