Microsoft DirectX 9.0

GetTrueColorType

The GetTrueColorType function returns the media subtype GUID for a 16-bit uncompressed RGB bitmap.

Syntax

const GUID GetTrueColorType(
  const BITMAPINFOHEADER *pHeader
);

Parameters

pHeader

Pointer to a BITMAPINFOHEADER structure that defines the bitmap.

Return Value

Returns MEDIASUBTYPE_RGB555 or MEDIASUBTYPE_RGB565.

Requirements

Header: Declared in Wxutil.h; include Streams.h.

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

See Also