I was wondering how I can get the graphics card model/brand from code particularly from DirectX 9.0c (from within C++ code).
You can use "DirecX Diagnostic Tool" API, like in sample DxDiagOutput from DX SDK http://msdn.microsoft.com/en-us/library/ee416986%28v=VS.85%29.aspx