XNA Creators Club Online
Page 1 of 1 (2 items)
Sort Posts: Previous Next

Anybody knows how to get display driver name&version in D3D10 or Vista?

Last post 03-21-2008 8:06 PM by Andy Campbell. 1 replies.
  • 03-17-2008 4:03 AM

    Anybody knows how to get display driver name&version in D3D10 or Vista?

    ATT.  I know DX9 has this query but I didn't find the same one in DX10, then how to get them in vista instead?

  • 03-21-2008 8:06 PM In reply to

    Re: Anybody knows how to get display driver name&version in D3D10 or Vista?

    QueryInterface(pD3D10Device, __uuidof(IDXGIDevice), (void**)(&pDXGIDevice));
    pDXGIDevice->GetAdapter(&pDXGIAdapter);
    pDXGIAdapter->GetDesc(&adapterDesc);
    pDXGIAdapter->CheckInterfaceSupport(__uuidof(ID3D10Device), &UserModeDriverVersion);

    Device description is in adapterDesc.Description, but it's not guaranteed to be stable between systems. The other components of the adapter descriptor like VendorId, DeviceId, and SubSysId are more reliable for identifying a piece of hardare. Check the D3D docs for more info about those functions and the meaning of their arguments.
Page 1 of 1 (2 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG