Rev | Line | |
---|
[13] | 1 | ' GdiPlusInit.ab
|
---|
| 2 |
|
---|
[698] | 3 | Const Enum DebugEventLevel
|
---|
[77] | 4 | DebugEventLevelFatal
|
---|
| 5 | DebugEventLevelWarning
|
---|
[13] | 6 | End Enum
|
---|
| 7 |
|
---|
[698] | 8 | TypeDef DebugEventProc = *Sub(level As DebugEventLevel, message As *CHAR)
|
---|
[13] | 9 |
|
---|
[698] | 10 | TypeDef NotificationHookProc = *Function(/*OUT*/ ByRef token As ULONG_PTR) As Status
|
---|
[13] | 11 | TypeDef NotificationUnhookProc = *Sub(ByVal token As ULONG_PTR)
|
---|
| 12 |
|
---|
[473] | 13 | Type GdiplusStartupInput
|
---|
| 14 | 'Class GdiplusStartupInput
|
---|
| 15 | 'Public
|
---|
[13] | 16 | GdiplusVersion As DWord
|
---|
[473] | 17 | DebugEventCallback As DebugEventProc
|
---|
[13] | 18 | SuppressBackgroundThread As BOOL
|
---|
| 19 | SuppressExternalCodecs As BOOL
|
---|
| 20 |
|
---|
[473] | 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
|
---|
[13] | 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.