Howdy, Stranger!

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

Categories

Bit Depth in Windows

Hi!

Anyone knows how do you retrieve information about bit depth in Windows using WINAPI?

Thank you for helping.
Check my programs!

Comments

  • chick80chick80 Member Posts: 349
    : Hi!
    :
    : Anyone knows how do you retrieve information about bit depth in Windows using WINAPI?
    :
    : Thank you for helping.
    : Check my programs!
    :
    [code]
    HDC hdc;
    int bpp;

    hdc = GetDC(NULL);
    bpp = GetDeviceCaps(hdc, BITSPIXEL);
    [/code]

    bye
    nICO



    [hr]
    [italic]How beautiful, if sorrow had not made Sorrow more beautiful than Beauty itself.[/italic]
    JOHN KEATS


  • WizardyWizardy Member Posts: 24
    Thank you!
    Check my programs!

  • Shawn CarterShawn Carter Member Posts: 0

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

Sign In or Register to comment.