source: trunk/Include/GdiPlusInit.ab@ 473

Last change on this file since 473 was 473, checked in by イグトランス (egtra), 16 years ago

実験として書いていたControlクラスを追加(せめてコミット前に既存のContorolに混ぜようとしたがコンパイルできなかった)。
ほかForms, Drawing及びGDI+の修正。

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