Rev 82 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 82 | Rev 83 | ||
---|---|---|---|
Line 20... | Line 20... | ||
20 | mnPluginVendorW = 'PluginVendorW'; |
20 | mnPluginVendorW = 'PluginVendorW'; |
21 | mnCheckLicense = 'CheckLicense'; |
21 | mnCheckLicense = 'CheckLicense'; |
22 | mnIdentificationMethodNameW = 'IdentificationMethodNameW'; |
22 | mnIdentificationMethodNameW = 'IdentificationMethodNameW'; |
23 | mnIdentificationStringW = 'IdentificationStringW'; |
23 | mnIdentificationStringW = 'IdentificationStringW'; |
24 | mnDescribeOwnStatusCodeW = 'DescribeOwnStatusCodeW'; |
24 | mnDescribeOwnStatusCodeW = 'DescribeOwnStatusCodeW'; |
- | 25 | mnDynamicIdentificationStringW = 'DynamicIdentificationStringW'; |
|
25 | 26 | ||
26 | {$IF not Declared(LPVOID)} |
27 | {$IF not Declared(LPVOID)} |
27 | type |
28 | type |
28 | LPVOID = Pointer; |
29 | LPVOID = Pointer; |
29 | {$IFEND} |
30 | {$IFEND} |
Line 37... | Line 38... | ||
37 | TFuncCheckLicense = function(lpReserved: LPVOID): UD2_STATUS; cdecl; |
38 | TFuncCheckLicense = function(lpReserved: LPVOID): UD2_STATUS; cdecl; |
38 | TFuncIdentificationMethodNameW = function(lpIdentificationMethodName: LPWSTR; cchSize: DWORD): UD2_STATUS; cdecl; |
39 | TFuncIdentificationMethodNameW = function(lpIdentificationMethodName: LPWSTR; cchSize: DWORD): UD2_STATUS; cdecl; |
39 | TFuncIdentificationStringW = function(lpIdentifier: LPWSTR; cchSize: DWORD): UD2_STATUS; cdecl; |
40 | TFuncIdentificationStringW = function(lpIdentifier: LPWSTR; cchSize: DWORD): UD2_STATUS; cdecl; |
40 | TFuncDescribeOwnStatusCodeW = function(lpErrorDescription: LPWSTR; cchSize: DWORD; statusCode: UD2_STATUS; wLangID: LANGID): BOOL; cdecl; |
41 | TFuncDescribeOwnStatusCodeW = function(lpErrorDescription: LPWSTR; cchSize: DWORD; statusCode: UD2_STATUS; wLangID: LANGID): BOOL; cdecl; |
41 | 42 | ||
- | 43 | // Extension of the plugin API starting with version 3. |
|
- | 44 | // We don't assign a new PluginIdentifier GUID since the methods of the old API |
|
- | 45 | // are still valid, so an UserDetect2 2.x plugin can be still used with UserDetect2 3.x. |
|
- | 46 | // Therefore, this function *MUST* be optional and therefore it may only be imported dynamically. |
|
- | 47 | TFuncDynamicIdentificationStringW = function(lpIdentifier: LPWSTR; cchSize: DWORD; lpDynamicData: LPWSTR): UD2_STATUS; cdecl; |
|
- | 48 | ||
42 | const |
49 | const |
43 | UD2_MULTIPLE_ITEMS_DELIMITER = #10; |
50 | UD2_MULTIPLE_ITEMS_DELIMITER = #10; |
44 | 51 | ||
45 | function PluginInterfaceID: TGUID; cdecl; |
52 | function PluginInterfaceID: TGUID; cdecl; |
46 | 53 |