IBitmapImage::GetPixelFormatID (Windows CE 5.0)

Send Feedback

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

HRESULT GetPixelFormatID(  PixelFormatID* pixelFormat);


  • 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 Values

This method returns S_OK.


OS Versions: Windows CE 5.0 and later.
Header: Imaging.h.
Link Library: Imaging.lib.

See Also

IBitmapImage | PixelFormatID | PixelFormat Values

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.