forked from len0rd/rockbox
MTP:
* Add Win32 progress callback reporting support git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18355 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e320446f0e
commit
79177edfb2
6 changed files with 178 additions and 95 deletions
|
@ -10,6 +10,8 @@
|
|||
#define MTP_DLL_API __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
extern "C" {
|
||||
__declspec(dllexport) bool send_fw(LPWSTR file, int filesize);
|
||||
extern "C"
|
||||
{
|
||||
__declspec(dllexport) bool send_fw(LPWSTR file, int filesize, void (*callback)(unsigned int progress, unsigned int max));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue