| 50 | } |
| 51 | |
| 52 | void PrintAllAdapterInfo() |
| 53 | { |
| 54 | unsigned count = 0; |
| 55 | if( FAILED( Tr2VideoAdapterInfo::GetAdapterCount( count ) ) ) |
| 56 | { |
| 57 | fprintf( stderr, "Failed to get video adapter count\n" ); |
| 58 | return; |
| 59 | } |
| 60 | for( unsigned i = 0; i < count; ++i ) |
| 61 | { |
| 62 | PrintAdapterInfo( i ); |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | int main( int argc, char** argv ) |
| 67 | { |
no test coverage detected