Share via


GetBitCount (Compact 2013)

3/26/2014

This function finds the number of bits per pixel.

Syntax

WORD GetBitCount(
  const GUID* pSubtype
);

Parameters

  • pSubtype
    Pointer to a GUID for a given video subtype.

Return Value

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

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Bitmap Functions