You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.6 KiB
78 lines
1.6 KiB
/**************************************************************************\
|
|
*
|
|
* Copyright (c) 2000, Microsoft Corp. All Rights Reserved.
|
|
*
|
|
* Module Name:
|
|
*
|
|
* GdiplusImageCodec.h
|
|
*
|
|
* Abstract:
|
|
*
|
|
* APIs for imaging codecs.
|
|
*
|
|
* Revision History:
|
|
*
|
|
* 12/21/1999 dchinn
|
|
* Created it.
|
|
*
|
|
\**************************************************************************/
|
|
|
|
#ifndef _GDIPLUSIMAGECODEC_H
|
|
#define _GDIPLUSIMAGECODEC_H
|
|
|
|
//--------------------------------------------------------------------------
|
|
// Codec Management APIs
|
|
//--------------------------------------------------------------------------
|
|
|
|
inline Status
|
|
GetImageDecodersSize(
|
|
OUT UINT *numDecoders,
|
|
OUT UINT *size)
|
|
{
|
|
return DllExports::GdipGetImageDecodersSize(numDecoders, size);
|
|
}
|
|
|
|
|
|
inline Status
|
|
GetImageDecoders(
|
|
IN UINT numDecoders,
|
|
IN UINT size,
|
|
OUT ImageCodecInfo *decoders)
|
|
{
|
|
return DllExports::GdipGetImageDecoders(numDecoders, size, decoders);
|
|
}
|
|
|
|
|
|
inline Status
|
|
GetImageEncodersSize(
|
|
OUT UINT *numEncoders,
|
|
OUT UINT *size)
|
|
{
|
|
return DllExports::GdipGetImageEncodersSize(numEncoders, size);
|
|
}
|
|
|
|
|
|
inline Status
|
|
GetImageEncoders(
|
|
IN UINT numEncoders,
|
|
IN UINT size,
|
|
OUT ImageCodecInfo *encoders)
|
|
{
|
|
return DllExports::GdipGetImageEncoders(numEncoders, size, encoders);
|
|
}
|
|
|
|
inline Status
|
|
AddImageCodec(
|
|
IN const ImageCodecInfo* codec)
|
|
{
|
|
return DllExports::GdipAddImageCodec(codec);
|
|
}
|
|
|
|
inline Status
|
|
RemoveImageCodec(
|
|
IN const ImageCodecInfo* codec)
|
|
{
|
|
return DllExports::GdipRemoveImageCodec(codec);
|
|
}
|
|
|
|
#endif // _GDIPLUSIMAGECODEC_H
|