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

[in] Pointer to a GdiplusStartupInput structure.

[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 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: 21
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 (
20 sec.Function: 'GdipGetImageEncodersSize'
39 sec.Function: 'CreateEllipticRgn'
58 sec.Function: 'capCreateCaptureWindow'
1.27 min.Function: 'GdipDeleteMatrix'
1.57 min.Function: 'FreeEnvironmentStrings'
1.87 min.Function: 'GetCharABCWidths'
2.18 min.Function: 'FindExecutable'
2.48 min.Function: 'GetClassInfoEx'
2.78 min.Function: 'GetMenuItemCount'
3.08 min.Function: 'CryptAcquireContext'
Advertise here!