Using Win32 functions in Visual FoxPro Image Gallery
GDI+
..msdn
GdipGetImageDecoders
GdipGetImageDecodersSize
GdipGetImageEncoders
GdipGetImageEncodersSize
GdiplusShutdown
GdiplusStartup
Code examples:
Custom GDI+ class
GdiplusStartup
..msdn    Add comment     W32 Constants      Translate this page
The GdiplusStartup function initializes Microsoft® Windows® GDI+.
Code examples:
Custom GDI+ class
Declaration:
 
Status GdiplusStartup(          ULONG_PTR token *token,
    const GdiplusStartupInput *input,
    GdiplusStartupOutput *output
);
 
FoxPro declaration:
 
DECLARE INTEGER GdiplusStartup IN gdiplus;
    INTEGER @ token,;
    STRING  @ input,;
    INTEGER   output
 
 
Parameters:
token
[out] Pointer to a ULONG_PTR that receives a token. Pass the token to GdiplusShutdown when you have finished using GDI+.

input
[in] Pointer to a GdiplusStartupInput structure.

output
[out] Pointer to a GdiplusStartupOutput structure.
Return value:
If the function succeeds, it returns Ok (0), which is an element of the Status enumeration.
My comment:
Call GdiplusStartup before making any other GDI+ calls, and call GdiplusShutdown when you have finished using GDI+.

You must call GdiplusStartup before you create any GDI+ objects, and you must delete all of your GDI+ objects (or have them go out of scope) before you call GdiplusShutdown.
Word Index links for the GdiplusStartup :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
•
Created: 2004-07-05 16:26:56
Modified: 2004-07-15 11:54:13
Visited in last 7 days: 24
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.167.250.64)
8 sec.Function: 'HeapValidate'
17 sec.Function: 'PathIsRoot'
24 sec.Function: 'GdipDrawImageRectRectI'
30 sec.Function: 'HeapWalk'
37 sec.Function: 'SHRegOpenUSKey'
44 sec.Function: 'JetDeleteTable'
52 sec.Function: 'GetDeviceCaps'
58 sec.Function: 'waveInUnprepareHeader'
1.12 min.Function: 'UuidCreate'
1.23 min.Function: 'MQDeleteQueue'
Google
Advertise here!