Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
GDI+: retrieving list of available image encoders and image decoders
..msdn    Add comment     W32 Constants      Translate this page
The GetImageDecoders function gets an array of ImageCodecInfo objects that contain information about the available image decoders.
Code examples:
GDI+: retrieving list of available image encoders and image decoders
Status GetImageDecoders(
    UINT numDecoders,
    UINT size,
    ImageCodecInfo *decoders
FoxPro declaration:
DECLARE INTEGER GdipGetImageDecoders IN gdiplus As GetCoders;
    INTEGER   numDecoders,;
    INTEGER   sze,;
    STRING  @ decoders
[in] Integer that specifies the number of available image decoders.

[in] Integer that specifies the size, in bytes, of the array of ImageCodecInfo objects.

[out] Pointer to a buffer that receives the array of ImageCodecInfo objects. You must allocate memory for this buffer.
Return value:
If the function succeeds, it returns Ok (0), which is an element of the Status enumeration.
My comment:
Prior to calling this function call GdipGetImageDecodersSize to determine numDecoders and size parameters.
Word Index links for the GdipGetImageDecoders :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2004-07-25 13:33:54
Modified: 2004-07-25 13:37:18
Visited in last 7 days: 39
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
3 sec.Function: 'CM_Get_Sibling_Ex'
6 sec.Function: 'GetMenuBarInfo'
9 sec.Function: 'GdipCreateFromHDC2'
11 sec.Function: 'CreateEnhMetaFile'
15 sec.Function: 'GetAclInformation'
20 sec.Function: 'GdipLoadImageFromFile'
23 sec.Function: 'CeDeleteFile'
26 sec.Function: 'DragQueryPoint'
29 sec.Function: 'CryptDeriveKey'
33 sec.Function: 'GdipDeleteBrush'
Advertise here!