CImageDisplay::GetDisplayDepth

 
Microsoft DirectShow 9.0

CImageDisplay::GetDisplayDepth

The GetDisplayDepth method retrieves the bit depth of the current display mode.

Syntax

  WORD GetDisplayDepth(void);

Return Value

Returns the number of bits per pixel.

Requirements

**  Header:** Declared in Winutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also