GetBitCount

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.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.