summaryrefslogtreecommitdiffstats
path: root/utils/MTP/MTP_DLL/MTP_DLL.h
blob: 6faab846191948070f4533f9c0e89a5600d51727 (plain)
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

#ifndef MTP_DLL_H
#define MTP_DLL_H

#ifndef MTP_NODLL
#ifdef MTP_DLL_EXPORTS
#define MTP_DLL_API __declspec(dllexport)
#else
#define MTP_DLL_API __declspec(dllimport)
#endif
#else
#define MTP_DLL_API
#endif

#ifdef __cplusplus
extern "C"
{
#endif
MTP_DLL_API int mtp_sendnk(LPWSTR file, int filesize, void (*callback)(unsigned int progress, unsigned int max));
MTP_DLL_API int mtp_description(wchar_t* name, wchar_t* manufacturer, DWORD* version);
#ifdef __cplusplus
}
#endif

#endif