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

Function PrintAllAdapterInfo

trinityal/tests/TrinityALTest.cpp:52–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void 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
66int main( int argc, char** argv )
67{

Callers 1

mainFunction · 0.85

Calls 1

PrintAdapterInfoFunction · 0.85

Tested by

no test coverage detected