fix VS 2003 compilation

This commit is contained in:
nothings.org 2007-07-31 02:16:41 +00:00
parent dc29e67c21
commit 2003c0d64a

6
imv.c
View File

@ -3250,11 +3250,9 @@ typedef enum
DebugEventLevelWarning DebugEventLevelWarning
} GpDebugEventLevel; } GpDebugEventLevel;
//typedef void (*MyFunc)(int fif, const char *msg);
typedef VOID (WINAPI *GpDebugEventProc)(GpDebugEventLevel level, CHAR *message); typedef VOID (WINAPI *GpDebugEventProc)(GpDebugEventLevel level, CHAR *message);
typedef ULONG * ULONG_PTR; typedef ULONG ULONG_PTR;
typedef GpStatus (WINAPI *GpNotificationHookProc)(ULONG_PTR *token); typedef GpStatus (WINAPI *GpNotificationHookProc)(ULONG_PTR *token);
typedef VOID (WINAPI *GpNotificationUnhookProc)(ULONG_PTR token); typedef VOID (WINAPI *GpNotificationUnhookProc)(ULONG_PTR token);
@ -3273,7 +3271,7 @@ typedef struct {
static HINSTANCE GdiplusDLL; static HINSTANCE GdiplusDLL;
static GdiplusStartupOutput gpStartupOutput; static GdiplusStartupOutput gpStartupOutput;
typedef __declspec(dllimport) GpStatus (WINAPI *GdiplusStartupProc)(ULONG* token, const GdiplusStartupInput* input, GdiplusStartupOutput* output); typedef __declspec(dllimport) GpStatus (WINAPI *GdiplusStartupProc)(ULONG_PTR *token, const GdiplusStartupInput* input, GdiplusStartupOutput* output);
static GdiplusStartupProc GdiplusStartup; static GdiplusStartupProc GdiplusStartup;
// from GdiplusHeaders.h // from GdiplusHeaders.h