ReactOS 0.4.16-dev-303-g11d5cb8
gdiplusinit.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GdiplusStartupInput
 
struct  GdiplusStartupOutput
 

Typedefs

typedef VOID(WINAPIDebugEventProc) (enum DebugEventLevel, CHAR *)
 
typedef Status(WINAPINotificationHookProc) (ULONG_PTR *)
 
typedef void(WINAPINotificationUnhookProc) (ULONG_PTR)
 

Enumerations

enum  DebugEventLevel { DebugEventLevelFatal , DebugEventLevelWarning }
 

Functions

Status WINAPI GdiplusStartup (ULONG_PTR *, const struct GdiplusStartupInput *, struct GdiplusStartupOutput *)
 
void WINAPI GdiplusShutdown (ULONG_PTR)
 

Typedef Documentation

◆ DebugEventProc

typedef VOID(WINAPI * DebugEventProc) (enum DebugEventLevel, CHAR *)

Definition at line 28 of file gdiplusinit.h.

◆ NotificationHookProc

typedef Status(WINAPI * NotificationHookProc) (ULONG_PTR *)

Definition at line 29 of file gdiplusinit.h.

◆ NotificationUnhookProc

typedef void(WINAPI * NotificationUnhookProc) (ULONG_PTR)

Definition at line 30 of file gdiplusinit.h.

Enumeration Type Documentation

◆ DebugEventLevel

Enumerator
DebugEventLevelFatal 
DebugEventLevelWarning 

Definition at line 22 of file gdiplusinit.h.

23{
26};
@ DebugEventLevelWarning
Definition: gdiplusinit.h:25
@ DebugEventLevelFatal
Definition: gdiplusinit.h:24

Function Documentation

◆ GdiplusShutdown()

◆ GdiplusStartup()

Status WINAPI GdiplusStartup ( ULONG_PTR token,
const struct GdiplusStartupInput input,
struct GdiplusStartupOutput output 
)

Definition at line 81 of file gdiplus.c.

83{
84 if(!token || !input)
85 return InvalidParameter;
86
87 TRACE("%p %p %p\n", token, input, output);
88 TRACE("GdiplusStartupInput %d %p %d %d\n", input->GdiplusVersion,
89 input->DebugEventCallback, input->SuppressBackgroundThread,
90 input->SuppressExternalCodecs);
91
92 if(input->GdiplusVersion < 1 || input->GdiplusVersion > 2)
94
95 if(input->SuppressBackgroundThread){
96 if(!output)
97 return InvalidParameter;
98
101 }
102
103 *token = 0xdeadbeef;
104
105 /* FIXME: DebugEventCallback ignored */
106
107 return Ok;
108}
static Status WINAPI NotificationHook(ULONG_PTR *token)
Definition: gdiplus.c:41
static void WINAPI NotificationUnhook(ULONG_PTR token)
Definition: gdiplus.c:50
@ Ok
Definition: gdiplustypes.h:26
@ UnsupportedGdiplusVersion
Definition: gdiplustypes.h:43
@ InvalidParameter
Definition: gdiplustypes.h:28
GLenum GLenum GLenum input
Definition: glext.h:9031
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat token
Definition: glfuncs.h:210
#define TRACE(s)
Definition: solgame.cpp:4
NotificationUnhookProc NotificationUnhook
Definition: gdiplusinit.h:56
NotificationHookProc NotificationHook
Definition: gdiplusinit.h:55

Referenced by BackgroundPageProc(), ImageView_Main(), START_TEST(), and test_startup().