summaryrefslogtreecommitdiffstats
path: root/utils/MTP/MTP_DLL/MTP_DLL.h
blob: 2793c936e10bb6e4d5db2ff027c6e467a85ce9d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

#ifndef MTP_DLL_H
#define MTP_DLL_H

#ifdef MTP_DLL_EXPORTS
#define MTP_DLL_API __declspec(dllexport)
#else
#define MTP_DLL_API __declspec(dllimport)
#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