Using Win32 functions in Visual FoxPro Image Gallery
GDI+
..msdn
GdipGetImageDecoders
GdipGetImageDecodersSize
GdipGetImageEncoders
GdipGetImageEncodersSize
GdiplusShutdown
GdiplusStartup
Code examples:
GDI+: retrieving list of available image encoders and image decoders
GdipGetImageDecoders
..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
Declaration:
Status GetImageDecoders(
    UINT numDecoders,
    UINT size,
    ImageCodecInfo *decoders
);
FoxPro declaration:
DECLARE INTEGER GdipGetImageDecoders IN gdiplus As GetCoders;
    INTEGER   numDecoders,;
    INTEGER   sze,;
    STRING  @ decoders
Parameters:
numDecoders
[in] Integer that specifies the number of available image decoders.

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

decoders
[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  
FreeTranslation.com 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: 12
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.80.132.10)
13 sec.Function: 'CreateToolhelp32Snapshot'
27 sec.Function: 'FtpRemoveDirectory'
41 sec.Function: 'GetCurrencyFormat'
55 sec.Function: 'FtpCommand'
1.17 min.Function: 'capGetDriverDescription'
1.43 min.
Function group: 'Cursor'
1.7 min.Function: 'FtpCreateDirectory'
1.97 min.Function: 'CeGetSystemInfo'
2.28 min.Function: 'CeRapiUninit'
2.6 min.Function: 'GdipCreateFromHDC2'
Google
Advertise here!