summaryrefslogtreecommitdiff
path: root/include/m_protocols.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 /include/m_protocols.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 'include/m_protocols.h')
-rw-r--r--include/m_protocols.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/m_protocols.h b/include/m_protocols.h
index b34b8d8f50..6907f5197e 100644
--- a/include/m_protocols.h
+++ b/include/m_protocols.h
@@ -37,7 +37,7 @@ struct PROTO_INTERFACE;
//returns the value as documented in the PS_ definition (m_protosvc.h)
typedef struct {
- HANDLE hContact;
+ HCONTACT hContact;
const char *szProtoService; //a PS_ constant
WPARAM wParam;
LPARAM lParam;
@@ -54,7 +54,7 @@ typedef struct {
typedef struct {
int cbSize;
const char *szModule; //the name of the protocol module which initiated this ack
- HANDLE hContact;
+ HCONTACT hContact;
int type; //an ACKTYPE_ constant
int result; //an ACKRESULT_ constant
HANDLE hProcess; //a caller-defined process code
@@ -120,7 +120,7 @@ typedef struct {
typedef struct tagPROTOFILETRANSFERSTATUS
{
size_t cbSize;
- HANDLE hContact;
+ HCONTACT hContact;
DWORD flags; // one of PFTS_* constants
union {
@@ -232,7 +232,7 @@ typedef struct {
//contact.
#define MS_PROTO_GETCONTACTBASEPROTO "Proto/GetContactBaseProto"
-__forceinline char* GetContactProto(HANDLE hContact)
+__forceinline char* GetContactProto(HCONTACT hContact)
{ return (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
}
@@ -404,7 +404,7 @@ ProtoBroadcastAck(), listeners must hook ME_PROTO_ACK, note that lParam = ACKDAT
typedef struct {
int cbSize; // sizeof()
- HANDLE hContact; // this might have to be set by the caller too
+ HCONTACT hContact; // this might have to be set by the caller too
int format; // PA_FORMAT_*
char filename[MAX_PATH]; // full path to filename which contains the avatar
} PROTO_AVATAR_INFORMATION;
@@ -412,7 +412,7 @@ typedef struct {
#ifdef _UNICODE
typedef struct {
int cbSize; // sizeof()
- HANDLE hContact; // this might have to be set by the caller too
+ HCONTACT hContact; // this might have to be set by the caller too
int format; // PA_FORMAT_*
WCHAR filename[MAX_PATH]; // full path to filename which contains the avatar
} PROTO_AVATAR_INFORMATIONW;