diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-02 14:11:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-02 14:11:01 +0000 |
commit | 75b1ff75c42644eb36552762652e4b0c9ff071bc (patch) | |
tree | 238f026ef373d30a395846f38c302a81961b14ac /plugins/ExternalAPI/m_ftpfile.h | |
parent | 2caba72d51b09368801f23dd8951d589ab4dc809 (diff) |
final switch to the typed icolib api
git-svn-id: http://svn.miranda-ng.org/main/trunk@2152 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI/m_ftpfile.h')
-rw-r--r-- | plugins/ExternalAPI/m_ftpfile.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/ExternalAPI/m_ftpfile.h b/plugins/ExternalAPI/m_ftpfile.h index 6575fd9e3b..b5e49a0766 100644 --- a/plugins/ExternalAPI/m_ftpfile.h +++ b/plugins/ExternalAPI/m_ftpfile.h @@ -60,7 +60,7 @@ typedef struct //
// Send file(s) or folder in selected mode to the FTP server
-// wParam = (WPARAM)0; not used
+// wParam = 0; not used
// lParam = (LPARAM)(FTPUPLOAD*)&ftpu; pointer to FTPUPLOAD
// returns 0 if upload started with no errors, nonzero otherwise
//
@@ -75,7 +75,7 @@ __inline static INT_PTR FTPFileUploadA(HANDLE hContact, BYTE ftpNum, BYTE mode, ftpu.mode = mode;
ftpu.pszObjects = pszObjects;
ftpu.objectCount = objCount;
- return CallService(MS_FTPFILE_UPLOAD, (WPARAM)0, (LPARAM)&ftpu);
+ return CallService(MS_FTPFILE_UPLOAD, 0, (LPARAM)&ftpu);
}
__inline static INT_PTR FTPFileUploadW(HANDLE hContact, BYTE ftpNum, BYTE mode, wchar_t **pswzObjects, int objCount)
@@ -88,7 +88,7 @@ __inline static INT_PTR FTPFileUploadW(HANDLE hContact, BYTE ftpNum, BYTE mode, ftpu.flags = FUPL_UNICODE;
ftpu.pswzObjects = pswzObjects;
ftpu.objectCount = objCount;
- return CallService(MS_FTPFILE_UPLOAD, (WPARAM)0, (LPARAM)&ftpu);
+ return CallService(MS_FTPFILE_UPLOAD, 0, (LPARAM)&ftpu);
}
#if defined _UNICODE || defined UNICODE
@@ -99,15 +99,15 @@ __inline static INT_PTR FTPFileUploadW(HANDLE hContact, BYTE ftpNum, BYTE mode, //
// Show a simple file manager
-// wParam = (WPARAM)0; not used
-// lParam = (LPARAM)0; not used
+// wParam = 0; not used
+// lParam = 0; not used
// returns 0 always
//
#define MS_FTPFILE_SHOWMANAGER "FTPFile/ShowManager"
__inline static INT_PTR FTPFileShowManager()
{
- return CallService(MS_FTPFILE_SHOWMANAGER, (WPARAM)0, (LPARAM)0);
+ return CallService(MS_FTPFILE_SHOWMANAGER, 0, 0);
}
//
|