Microsoft DirectX 8.1 (C++)

CImageDisplay::GetDisplayDepth

Retrieves the bit depth of the current display mode.

Syntax

WORD GetDisplayDepth(void);

Return Value

Returns the number of bits per pixel used on the display.

See Also