Leaked source code of windows server 2003
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.

59 lines
1.3 KiB

  1. /**************************************************************************\
  2. *
  3. * Copyright (c) 2000-2001, Microsoft Corp. All Rights Reserved.
  4. *
  5. * Module Name:
  6. *
  7. * GdiplusImageCodec.h
  8. *
  9. * Abstract:
  10. *
  11. * GDI+ Codec Image APIs
  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. #endif // _GDIPLUSIMAGECODEC_H