Subversion Repositories userdetect2

Rev

Rev 70 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
68 daniel-mar 1
#ifndef _UD2_API_H_
2
#define _UD2_API_H_
3
 
4
#include <windows.h>
5
 
70 daniel-mar 6
const char UD2_MULTIPLE_ITEMS_DELIMITER = 0x10;
7
 
71 daniel-mar 8
#include "ud2_guid.h"
69 daniel-mar 9
#include "ud2_status.h"
68 daniel-mar 10
#include "ud2_utils.h"
11
 
12
#ifdef BUILDING_DLL
13
#define UD2_API extern "C" __cdecl __declspec(dllexport)
14
#else
15
#define UD2_API extern "C" __cdecl __declspec(dllimport)
16
#endif
17
 
18
UD2_API GUID PluginIdentifier();
69 daniel-mar 19
UD2_API UD2_STATUS PluginNameW(LPWSTR lpPluginName, DWORD cchSize, LANGID wLangID);
20
UD2_API UD2_STATUS PluginVersionW(LPWSTR lpPluginVersion, DWORD cchSize, LANGID wLangID);
21
UD2_API UD2_STATUS PluginVendorW(LPWSTR lpPluginVendor, DWORD cchSize, LANGID wLangID);
22
UD2_API UD2_STATUS CheckLicense(LPVOID lpReserved);
23
UD2_API UD2_STATUS IdentificationMethodNameW(LPWSTR lpIdentificationMethodName, DWORD cchSize);
24
UD2_API UD2_STATUS IdentificationStringW(LPWSTR lpIdentifier, DWORD cchSize);
70 daniel-mar 25
UD2_API BOOL DescribeOwnStatusCodeW(LPWSTR lpErrorDescription, DWORD cchSize, UD2_STATUS statusCode, LANGID wLangID);
68 daniel-mar 26
 
71 daniel-mar 27
const GUID GUID_USERDETECT2_IDPLUGIN_V1 = __GUID("{6C26245E-F79A-416C-8C73-BEA3EC18BB6E}");
68 daniel-mar 28
#ifdef BUILDING_DLL
29
UD2_API GUID PluginInterfaceID() {
30
        return GUID_USERDETECT2_IDPLUGIN_V1;   
31
}
32
#else
33
UD2_API GUID PluginInterfaceID();
34
#endif
35
 
36
#endif