MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetDriverVersion

Function GetDriverVersion

trinityal/Tr2DriverUtilities.cpp:145–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143{
144#if ( TRINITY_PLATFORM == TRINITY_STUB )
145ALResult GetDriverVersion( uint32_t deviceId, Tr2VideoDriverInfo& info )
146{
147 if( deviceId == 0xffffffff )
148 {
149 return E_FAIL;
150 }
151 info.driverDate = "01/01/01";
152 info.driverVendor = "Stub";
153 info.driverVersion = 31337;
154 info.driverVersionString = "31337";
155 info.isAmdDynamicSwitchable = false;
156 info.isOptimus = false;
157 return S_OK;
158}
159#else
160ALResult GetDriverVersion( uint32_t deviceId, Tr2VideoDriverInfo& info )
161{

Callers 3

GetDriverInfoMethod · 0.85
TESTFunction · 0.85
PrintAdapterInfoFunction · 0.85

Calls 2

DriverInfoClass · 0.85
DoGetDriverVersionFunction · 0.85

Tested by 2

TESTFunction · 0.68
PrintAdapterInfoFunction · 0.68