-
Notifications
You must be signed in to change notification settings - Fork 0
/
Bounce.pas
98 lines (63 loc) · 3.73 KB
/
Bounce.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
unit Bounce;
interface
type
HCkEmail = Pointer;
HCkBounce = Pointer;
HCkString = Pointer;
function CkBounce_Create: HCkBounce; stdcall;
procedure CkBounce_Dispose(handle: HCkBounce); stdcall;
procedure CkBounce_getBounceAddress(objHandle: HCkBounce; outPropVal: HCkString); stdcall;
function CkBounce__bounceAddress(objHandle: HCkBounce): PWideChar; stdcall;
procedure CkBounce_getBounceData(objHandle: HCkBounce; outPropVal: HCkString); stdcall;
function CkBounce__bounceData(objHandle: HCkBounce): PWideChar; stdcall;
function CkBounce_getBounceType(objHandle: HCkBounce): Integer; stdcall;
procedure CkBounce_getDebugLogFilePath(objHandle: HCkBounce; outPropVal: HCkString); stdcall;
procedure CkBounce_putDebugLogFilePath(objHandle: HCkBounce; newPropVal: PWideChar); stdcall;
function CkBounce__debugLogFilePath(objHandle: HCkBounce): PWideChar; stdcall;
procedure CkBounce_getLastErrorHtml(objHandle: HCkBounce; outPropVal: HCkString); stdcall;
function CkBounce__lastErrorHtml(objHandle: HCkBounce): PWideChar; stdcall;
procedure CkBounce_getLastErrorText(objHandle: HCkBounce; outPropVal: HCkString); stdcall;
function CkBounce__lastErrorText(objHandle: HCkBounce): PWideChar; stdcall;
procedure CkBounce_getLastErrorXml(objHandle: HCkBounce; outPropVal: HCkString); stdcall;
function CkBounce__lastErrorXml(objHandle: HCkBounce): PWideChar; stdcall;
function CkBounce_getLastMethodSuccess(objHandle: HCkBounce): wordbool; stdcall;
procedure CkBounce_putLastMethodSuccess(objHandle: HCkBounce; newPropVal: wordbool); stdcall;
function CkBounce_getVerboseLogging(objHandle: HCkBounce): wordbool; stdcall;
procedure CkBounce_putVerboseLogging(objHandle: HCkBounce; newPropVal: wordbool); stdcall;
procedure CkBounce_getVersion(objHandle: HCkBounce; outPropVal: HCkString); stdcall;
function CkBounce__version(objHandle: HCkBounce): PWideChar; stdcall;
function CkBounce_ExamineEmail(objHandle: HCkBounce; email: HCkEmail): wordbool; stdcall;
function CkBounce_ExamineEml(objHandle: HCkBounce; emlFilename: PWideChar): wordbool; stdcall;
function CkBounce_ExamineMime(objHandle: HCkBounce; mimeText: PWideChar): wordbool; stdcall;
function CkBounce_SaveLastError(objHandle: HCkBounce; path: PWideChar): wordbool; stdcall;
function CkBounce_UnlockComponent(objHandle: HCkBounce; unlockCode: PWideChar): wordbool; stdcall;
implementation
{$Include chilkatDllPath.inc}
function CkBounce_Create; external DLLName;
procedure CkBounce_Dispose; external DLLName;
procedure CkBounce_getBounceAddress; external DLLName;
function CkBounce__bounceAddress; external DLLName;
procedure CkBounce_getBounceData; external DLLName;
function CkBounce__bounceData; external DLLName;
function CkBounce_getBounceType; external DLLName;
procedure CkBounce_getDebugLogFilePath; external DLLName;
procedure CkBounce_putDebugLogFilePath; external DLLName;
function CkBounce__debugLogFilePath; external DLLName;
procedure CkBounce_getLastErrorHtml; external DLLName;
function CkBounce__lastErrorHtml; external DLLName;
procedure CkBounce_getLastErrorText; external DLLName;
function CkBounce__lastErrorText; external DLLName;
procedure CkBounce_getLastErrorXml; external DLLName;
function CkBounce__lastErrorXml; external DLLName;
function CkBounce_getLastMethodSuccess; external DLLName;
procedure CkBounce_putLastMethodSuccess; external DLLName;
function CkBounce_getVerboseLogging; external DLLName;
procedure CkBounce_putVerboseLogging; external DLLName;
procedure CkBounce_getVersion; external DLLName;
function CkBounce__version; external DLLName;
function CkBounce_ExamineEmail; external DLLName;
function CkBounce_ExamineEml; external DLLName;
function CkBounce_ExamineMime; external DLLName;
function CkBounce_SaveLastError; external DLLName;
function CkBounce_UnlockComponent; external DLLName;
end.