ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

gdiplusinit.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2007 Google (Evan Stade)
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00017  */
00018 
00019 #ifndef _GDIPLUSINIT_H
00020 #define _GDIPLUSINIT_H
00021 
00022 enum DebugEventLevel
00023 {
00024     DebugEventLevelFatal,
00025     DebugEventLevelWarning
00026 };
00027 
00028 typedef VOID (WINAPI *DebugEventProc)(enum DebugEventLevel, CHAR *);
00029 typedef Status (WINAPI *NotificationHookProc)(ULONG_PTR *);
00030 typedef void (WINAPI *NotificationUnhookProc)(ULONG_PTR);
00031 
00032 struct GdiplusStartupInput
00033 {
00034     UINT32 GdiplusVersion;
00035     DebugEventProc DebugEventCallback;
00036     BOOL SuppressBackgroundThread;
00037     BOOL SuppressExternalCodecs;
00038 
00039 #ifdef __cplusplus
00040     GdiplusStartupInput(DebugEventProc debugEventCallback = NULL,
00041         BOOL suppressBackgroundThread = FALSE,
00042         BOOL suppressExternalCodecs = FALSE)
00043     {
00044         GdiplusVersion = 1;
00045         DebugEventCallback = debugEventCallback;
00046         SuppressBackgroundThread = suppressBackgroundThread;
00047         SuppressExternalCodecs = suppressExternalCodecs;
00048     }
00049 #endif
00050 };
00051 
00052 struct GdiplusStartupOutput
00053 {
00054     NotificationHookProc NotificationHook;
00055     NotificationUnhookProc NotificationUnhook;
00056 };
00057 
00058 #ifdef __cplusplus
00059 extern "C" {
00060 #endif
00061 
00062 Status WINAPI GdiplusStartup(ULONG_PTR *, const struct GdiplusStartupInput *, struct GdiplusStartupOutput *);
00063 void WINAPI GdiplusShutdown(ULONG_PTR);
00064 
00065 #ifdef __cplusplus
00066 }
00067 #endif
00068 
00069 #endif

Generated on Sat May 26 2012 04:30:11 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.