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.
 
 
 
 
 
 

74 lines
1.6 KiB

  1. /**************************************************************************\
  2. *
  3. * Copyright (c) 2000, Microsoft Corp. All Rights Reserved.
  4. *
  5. * Module Name:
  6. *
  7. * GdiplusImageCodec.h
  8. *
  9. * Abstract:
  10. *
  11. * APIs for imaging codecs.
  12. *
  13. \**************************************************************************/
  14. #ifndef _GDIPLUSIMAGECODEC_H
  15. #define _GDIPLUSIMAGECODEC_H
  16. //--------------------------------------------------------------------------
  17. // Codec Management APIs
  18. //--------------------------------------------------------------------------
  19. inline Status
  20. GetImageDecodersSize(
  21. OUT UINT *numDecoders,
  22. OUT UINT *size)
  23. {
  24. return DllExports::GdipGetImageDecodersSize(numDecoders, size);
  25. }
  26. inline Status
  27. GetImageDecoders(
  28. IN UINT numDecoders,
  29. IN UINT size,
  30. OUT ImageCodecInfo *decoders)
  31. {
  32. return DllExports::GdipGetImageDecoders(numDecoders, size, decoders);
  33. }
  34. inline Status
  35. GetImageEncodersSize(
  36. OUT UINT *numEncoders,
  37. OUT UINT *size)
  38. {
  39. return DllExports::GdipGetImageEncodersSize(numEncoders, size);
  40. }
  41. inline Status
  42. GetImageEncoders(
  43. IN UINT numEncoders,
  44. IN UINT size,
  45. OUT ImageCodecInfo *encoders)
  46. {
  47. return DllExports::GdipGetImageEncoders(numEncoders, size, encoders);
  48. }
  49. inline Status
  50. AddImageCodec(
  51. IN const ImageCodecInfo* codec)
  52. {
  53. return DllExports::GdipAddImageCodec(codec);
  54. }
  55. inline Status
  56. RemoveImageCodec(
  57. IN const ImageCodecInfo* codec)
  58. {
  59. return DllExports::GdipRemoveImageCodec(codec);
  60. }
  61. #endif // _GDIPLUSIMAGECODEC_H