Here is what is listed in the records of the American Civil War Research Database. Have no idea of it’s accuracy. Believe Maj. Bomar who was captured, was commanding the regiment at that time.
Regimental Casualty Analysis 38th GA Infantry
Cedar Creek, Va. Oct. 19, 1864
1 killed, 11 wounded 13 captured 0 missing [Maj. Thomas Bomar captured]
Historical Data Systems, Inc. @ www.civilwardata.com