Sorry if this seems like an obvious question, but I'm just not finding anything online.
In Direct3D9, how do I get the total amount of video memory for a specific display device? I'm looking for a programmatic equivalent of running dxdiag and looking it up there. (I don't care about available memory; just how many MB the video card has.)
Knowing how much memory a user's video card has will be useful information in crash reports.