Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Direct Draw 7 - Display mode enumeration

Ok i've downloaded the DirectX7 SDK and started learning DDraw7 but i've run into a small problem...

I'm trying to write a test program that will tell me if a chosen display mode is supported by the default graphics adapter.

In the SDK help files it says you can check for a single display mode being supported or get a list of all the display modes that are supported but from the help file and the example code i've not been able to work out how to check if a single display mode is supported.

Can someone please give me some code that will check if 640*480*16 is supported by the default adapter so that i can learn how to do this and also when i need to, create functions to do full hardware enumerations.



  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    __ ( ) free ebooks and video tutorials about [ Ruby, Visual Basic .NET, Swift, PHP, C++, Python, Go, Visual Basic, R, Assembly, C#, C, Perl, Delphi, JavaScript, Scratch, PL/SQL, MATLAB, Objective-C, Java Awk, Rust, Crystal, LabVIEW, Prolog, Fortran, Alice, Scheme, ML, Lua, Transact-SQL, Apex, Scala, D, Ada, Julia, SAS, Erlang, Bash, FoxPro, Clojure, Dart, COBOL, F#, Kotlin, Hack, VBScript, ABAP, Lisp, Logo ] ______________

Sign In or Register to comment.