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

  • : 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


  • Thank you!
    Check my programs!

Sign In or Register to comment.

Howdy, Stranger!

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

Categories