 |
GdiplusStartup ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The GdiplusStartup function initializes Microsoft® Windows® GDI+. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| 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: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-07-05 16:26:56 | | Modified: | 2004-07-15 11:54:13 | Visited in last 7 days: 13 |