Share via


IBitmapImage::GetPixelFormatID (Compact 2013)

3/26/2014

This feature is being deprecated for this release. Refer to this component: Windows Imaging Component.

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

See Also

Reference

IBitmapImage
PixelFormatID
PixelFormat Values