-------------------------------------------------------------------------------------- Description: Get driver information for the display adapter. Arguments: info - (out) Tr2VideoDriver object with video driver properties Return Value: ALResult code of operation --------------------------------------------------------------------------------------
| 227 | // ALResult code of operation |
| 228 | // -------------------------------------------------------------------------------------- |
| 229 | ALResult Tr2VideoAdapter::GetDriverInfo( Tr2VideoDriver** info ) |
| 230 | { |
| 231 | *info = nullptr; |
| 232 | |
| 233 | Tr2VideoDriverInfo driverInfo; |
| 234 | FORWARD_HR( Tr2DriverUtilities::GetDriverVersion( m_info.deviceID, driverInfo ) ); |
| 235 | |
| 236 | Tr2VideoDriverPtr result; |
| 237 | result.CreateInstance(); |
| 238 | result->m_info = driverInfo; |
| 239 | *info = result.Detach(); |
| 240 | return S_OK; |
| 241 | } |
nothing calls this directly
no test coverage detected