Line | |
---|
1 | ' GdiPlusInit.ab |
---|
2 | |
---|
3 | Const Enum DebugEventLevel |
---|
4 | DebugEventLevelFatal |
---|
5 | DebugEventLevelWarning |
---|
6 | End Enum |
---|
7 | |
---|
8 | TypeDef DebugEventProc = *Sub(level As DebugEventLevel, message As *CHAR) |
---|
9 | |
---|
10 | TypeDef NotificationHookProc = *Function(/*OUT*/ ByRef token As ULONG_PTR) As Status |
---|
11 | TypeDef NotificationUnhookProc = *Sub(ByVal token As ULONG_PTR) |
---|
12 | |
---|
13 | Type GdiplusStartupInput |
---|
14 | 'Class GdiplusStartupInput |
---|
15 | 'Public |
---|
16 | GdiplusVersion As DWord |
---|
17 | DebugEventCallback As DebugEventProc |
---|
18 | SuppressBackgroundThread As BOOL |
---|
19 | SuppressExternalCodecs As BOOL |
---|
20 | |
---|
21 | ' Sub GdiplusStartupInput()(debugEventCallback As DebugEventProc, suppressBackgroundThread As BOOL, suppressExternalCodecs As BOOL) |
---|
22 | ' GdiplusVersion = 1 |
---|
23 | ' DebugEventCallback = debugEventCallback |
---|
24 | ' SuppressBackgroundThread = suppressBackgroundThread |
---|
25 | ' SuppressExternalCodecs = suppressExternalCodecs |
---|
26 | ' End Sub |
---|
27 | 'End Class |
---|
28 | End Type |
---|
29 | |
---|
30 | Type Align(8) GdiplusStartupOutput |
---|
31 | NotificationHook As NotificationHookProc |
---|
32 | NotificationUnhook As NotificationUnhookProc |
---|
33 | End Type |
---|
34 | |
---|
35 | Declare Function GdiplusStartup Lib "GdiPlus.dll" ( |
---|
36 | /*OUT*/ ByRef token As ULONG_PTR, |
---|
37 | ByRef input As GdiplusStartupInput, |
---|
38 | /*OUT*/ ByVal output As *GdiplusStartupOutput) As Status |
---|
39 | |
---|
40 | Declare Sub GdiplusShutdown Lib "GdiPlus.dll" (ByVal token As ULONG_PTR) |
---|
Note: See
TracBrowser
for help on using the repository browser.