IsExtendedPixelFormat function (gdipluspixelformats.h)

The IsExtendedPixelFormat method determines whether a specified pixel format uses 16 bits per color channel.

Syntax

BOOL IsExtendedPixelFormat(
  PixelFormat pixfmt
);

Parameters

pixfmt

Type: PixelFormat

A PixelFormat constant that specifies the pixel format to be tested.

Return value

Type: BOOL

If the pixel format uses 16 bits per color channel, this method returns TRUE; otherwise, it returns FALSE.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header gdipluspixelformats.h (include Gdiplus.h)
Library Gdiplus.lib