|You have not supplied enough information.|
About 298gb binary size is what Disk Management would show underneath Disk 0, as the raw size of a physical ~ 320gb manufacturer's size hard drive.
Is 48.83 GB the formatted size of logical drive letter C in Windows, and it's in the box beside the physical drive that's about 298gb ?
Is that physical drive connected internally to the computer or is it an external hard drive?
Are hard drive partitions with logical drive letters D and E supposed to be on the same physical hard drive ?
What the ??? is "win to flash software " ?
Even if you did run that by mistake, it wouldn't have wiped out two partitions at the same time and left one intact if they were all on the same physical drive.