If the flights were booked as you desribed, then you will get miles for each individual segment (DCA-DFW and DFW-HKG).
If only one segment is issued (DCA-HKG) the direct miles would be credited. But thats only possible if you're in the sam bookingclass on the whole way...