Share via


IBitmapImage::GetPixelFormatID (Windows Embedded CE 6.0)

1/6/2010

This method returns the pixel format of the bitmap image object.

Syntax

HRESULT GetPixelFormatID(
  PixelFormatID* pixelFormat
);

Parameters

  • pixelFormat
    [out] A pointer to a PixelFormatID value describing the pixel format of the bitmap image.

    The dereferenced value of the pointer is one of the PixelFormat Values.

Return Value

This method returns S_OK.

Requirements

Header imaging.h
Library Imaging.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IBitmapImage
PixelFormatID
PixelFormat Values