summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_ftpfile.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-10 08:04:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-10 08:04:30 +0000
commitddba4ede6b451d0cfcd0d32b5180fbd0689966bf (patch)
tree5d74f37a7013d13b92c182628d6b68a58e148ae4 /plugins/ExternalAPI/m_ftpfile.h
parentc39340bf493a1745a41317bbf937fc7eb6cbb26a (diff)
- HANDLE hContact => HCONTACT
- GCF_* prefix was added to chat constants to avoid name conflicts git-svn-id: http://svn.miranda-ng.org/main/trunk@8078 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI/m_ftpfile.h')
-rw-r--r--plugins/ExternalAPI/m_ftpfile.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/ExternalAPI/m_ftpfile.h b/plugins/ExternalAPI/m_ftpfile.h
index b5e49a0766..6bf82bb469 100644
--- a/plugins/ExternalAPI/m_ftpfile.h
+++ b/plugins/ExternalAPI/m_ftpfile.h
@@ -43,11 +43,11 @@ Boston, MA 02111-1307, USA.
typedef struct
{
- int cbSize; // size of the structure
- HANDLE hContact; // contact handle, can be NULL
- BYTE ftpNum; // number of the FTP server which will be used for upload, can be one of FNUM_* values
- BYTE mode; // upload mode, can be one of FMODE_* values
- DWORD flags; // bitwise OR of the FUPL_* flags above
+ int cbSize; // size of the structure
+ HCONTACT hContact; // contact handle, can be NULL
+ BYTE ftpNum; // number of the FTP server which will be used for upload, can be one of FNUM_* values
+ BYTE mode; // upload mode, can be one of FMODE_* values
+ DWORD flags; // bitwise OR of the FUPL_* flags above
union {
TCHAR **pstzObjects; // pointer to the array of the object(s) to upload, content is determined by MODE value
@@ -66,7 +66,7 @@ typedef struct
//
#define MS_FTPFILE_UPLOAD "FTPFile/Upload"
-__inline static INT_PTR FTPFileUploadA(HANDLE hContact, BYTE ftpNum, BYTE mode, char **pszObjects, int objCount)
+__inline static INT_PTR FTPFileUploadA(HCONTACT hContact, BYTE ftpNum, BYTE mode, char **pszObjects, int objCount)
{
FTPUPLOAD ftpu = {0};
ftpu.cbSize = sizeof(ftpu);
@@ -78,7 +78,7 @@ __inline static INT_PTR FTPFileUploadA(HANDLE hContact, BYTE ftpNum, BYTE mode,
return CallService(MS_FTPFILE_UPLOAD, 0, (LPARAM)&ftpu);
}
-__inline static INT_PTR FTPFileUploadW(HANDLE hContact, BYTE ftpNum, BYTE mode, wchar_t **pswzObjects, int objCount)
+__inline static INT_PTR FTPFileUploadW(HCONTACT hContact, BYTE ftpNum, BYTE mode, wchar_t **pswzObjects, int objCount)
{
FTPUPLOAD ftpu = {0};
ftpu.cbSize = sizeof(ftpu);