Microsoft Windows CE 3.0  

GetBitCount

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Finds the number of bits per pixel.

WORD GetBitCount(
const GUID *
pSubtype
);

Parameters

pSubtype
Pointer to a GUID for a given video subtype.

Return Values

Returns the number of bits per pixel for this subtype, or USHRT_MAX if an error occurred.