Rev 69 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 69 | Rev 70 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef _UD2_API_H_ |
1 | #ifndef _UD2_API_H_ |
2 | #define _UD2_API_H_ |
2 | #define _UD2_API_H_ |
3 | 3 | ||
4 | #include <windows.h> |
4 | #include <windows.h> |
5 | 5 | ||
- | 6 | const char UD2_MULTIPLE_ITEMS_DELIMITER = 0x10; |
|
- | 7 | ||
6 | #include "ud2_status.h" |
8 | #include "ud2_status.h" |
7 | #include "ud2_utils.h" |
9 | #include "ud2_utils.h" |
8 | 10 | ||
9 | #define GUID_USERDETECT2_IDPLUGIN_V1 __GUID("{6C26245E-F79A-416C-8C73-BEA3EC18BB6E}") |
11 | #define GUID_USERDETECT2_IDPLUGIN_V1 __GUID("{6C26245E-F79A-416C-8C73-BEA3EC18BB6E}") |
10 | 12 | ||
11 | const char UD2_MULTIPLE_ITEMS_DELIMITER = 0x10; |
- | |
12 | - | ||
13 | #ifdef BUILDING_DLL |
13 | #ifdef BUILDING_DLL |
14 | #define UD2_API extern "C" __cdecl __declspec(dllexport) |
14 | #define UD2_API extern "C" __cdecl __declspec(dllexport) |
15 | #else |
15 | #else |
16 | #define UD2_API extern "C" __cdecl __declspec(dllimport) |
16 | #define UD2_API extern "C" __cdecl __declspec(dllimport) |
17 | #endif |
17 | #endif |
Line 21... | Line 21... | ||
21 | UD2_API UD2_STATUS PluginVersionW(LPWSTR lpPluginVersion, DWORD cchSize, LANGID wLangID); |
21 | UD2_API UD2_STATUS PluginVersionW(LPWSTR lpPluginVersion, DWORD cchSize, LANGID wLangID); |
22 | UD2_API UD2_STATUS PluginVendorW(LPWSTR lpPluginVendor, DWORD cchSize, LANGID wLangID); |
22 | UD2_API UD2_STATUS PluginVendorW(LPWSTR lpPluginVendor, DWORD cchSize, LANGID wLangID); |
23 | UD2_API UD2_STATUS CheckLicense(LPVOID lpReserved); |
23 | UD2_API UD2_STATUS CheckLicense(LPVOID lpReserved); |
24 | UD2_API UD2_STATUS IdentificationMethodNameW(LPWSTR lpIdentificationMethodName, DWORD cchSize); |
24 | UD2_API UD2_STATUS IdentificationMethodNameW(LPWSTR lpIdentificationMethodName, DWORD cchSize); |
25 | UD2_API UD2_STATUS IdentificationStringW(LPWSTR lpIdentifier, DWORD cchSize); |
25 | UD2_API UD2_STATUS IdentificationStringW(LPWSTR lpIdentifier, DWORD cchSize); |
- | 26 | UD2_API BOOL DescribeOwnStatusCodeW(LPWSTR lpErrorDescription, DWORD cchSize, UD2_STATUS statusCode, LANGID wLangID); |
|
26 | 27 | ||
27 | #ifdef BUILDING_DLL |
28 | #ifdef BUILDING_DLL |
28 | UD2_API GUID PluginInterfaceID() { |
29 | UD2_API GUID PluginInterfaceID() { |
29 | return GUID_USERDETECT2_IDPLUGIN_V1; |
30 | return GUID_USERDETECT2_IDPLUGIN_V1; |
30 | } |
31 | } |