GetImageDecodersSize function

Applies to: desktop apps only

The GetImageDecodersSize function gets the number of available image decoders and the total size of the array of ImageCodecInfo objects that is returned by the GetImageDecoders function.

Syntax

Status GetImageDecodersSize(
  __out  UINT *numDecoders,
  __out  UINT *size
);

Parameters

numDecoders [out]

Type: UINT*

Pointer to a UINT that receives the number of available image decoders.

size [out]

Type: UINT*

Pointer to a UINT that receives the total size, in bytes, of the array of ImageCodecInfo objects that is returned by the GetImageDecoders function.

Return value

Type:

Type: Status

If the function succeeds, it returns Ok, which is an element of the Status enumeration.

If the function fails, it returns one of the other elements of the Status enumeration.

Examples

For a code example, see GetImageDecoders.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdiplusimagecodec.h (include Gdiplus.h)

Library

Gdiplus.lib

See also

Bitmap
GetImageDecoders
GetImageEncoders
GetImageEncodersSize
Image
Metafile
Using Image Encoders and Decoders

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show: